Generation

generate functionThu, 20 Apr 2023

> library(nlme) > model1 <- glmer(categorical_FOD_FODs~Condition_FODs*Gender_FODs,random=~1|subject_FODs, + na.action=na.omit, + method = "ML", + data=indvar_FODs, + control = lmeControl(opt = "optim")) Error in glmer(categorical_FOD_FODs ~ Condition_FODs * Gender_FODs, random = ~1 | : unused arguments (random = ~1 | subject_FODs, method = "ML") what should I do to avoid this issue? please edit the code accordingly

# Add your function here library(nlme) model1 <- glmer(categorical_FOD_FODs~Condition_FODs*Gender_FODs,random=~1|subject_FODs, na.action=na.omit, method = "ML", data=indvar_FODs, control = lmeControl(opt = "optim"))

Questions about programming?Chat with your personal AI assistant