Generation

generate functionThu, 20 Apr 2023

categorical_FOD_FODs (3 levels) -dependent variable Condition_FODs (4 levels) -fixed factor/independent variable Gender_FODs (3 levels) nalyse the interaction effect between Condition_FODs and Gender_FODs variables on the categorical_FOD_FODs (DV) please use 'lme4' package in RStudio

library(lme4) model = glmer(categorical_FOD_FODs ~ Condition_FODs * Gender_FODs , family=binomial(), data = df ) summary(model)

Questions about programming?Chat with your personal AI assistant