Hi!
I'm trying to fit a a linear model with ModelArray.lm and I get this error:
Error in eval(call("force", as.symbol(paste0("..", x)))) :
argument "..2" is missing, with no default
does anyone have an idea what is causing this?
Before that it seems like I have done everything correctly. Below is my formula and model fitting:
formula.lm <- fdc_smooth ~ no2_prenatal_2_3 + age + sex + adhd
mylm.try<- ModelArray.lm(formula.lm, modelarray_1_4y_no2_fdc, cohort, "fdc_smooth",
n_cores = 6, element.subset = 1:100)
Thanks in advance!
Paulina