Generation

generate functionTue, 18 Apr 2023

> mod <- glmer('categorical_FOD_FODs ~ Condition_FODs + Language_used_FODs + (1 | subject_FODs)', + data = indvar_FODs, family = binomial) According to the singularity in this data, add this method = "", data= ,control = (opt = "")) what should I write for the 'method' and 'control' and for the 'opt'? i don't think family is binomial

# First, we would like to look at the factors that influence the individual variable choice # i.e. what variable was chosen in what condition for a given participant indvar_FODs <- FOD_FODs %>% group_by(subject_FODs, Condition_FODs, Language_used_FODs, categorical_FOD_FODs) %>% summarise(n = n()) indvar_FODs$subject_FODs <- as.factor(indvar_FODs$subject_FODs) indvar_FODs$Condition_FODs <- as.factor(indvar_FODs$Condition_FODs) indvar_FODs$Language_used_FODs <- as.factor(indvar_FODs$Language_used_FODs) indvar_FODs$categorical_FOD_FODs <- as.factor(indvar_FODs$categorical_FOD_FODs) # we need to make

Questions about programming?Chat with your personal AI assistant