Generation

generate functionTue, 18 Apr 2023

model <- multinom(categorical_FOD_FODs ~ Condition_FODs + Language_used_FODs + Condition_FODs*Language_used_FODs, indvar_FODs) summary(model) write code for the post-hoc analysis, treating each level of the variables equally including the interactions

library(MASS) library(lsmeans) model <- multinom(categorical_FOD_FODs ~ Condition_FODs + Language_used_FODs + Condition_FODs*Language_used_FODs, indvar_FODs) summary(model) post_hoc <- lsmeans(model, ~ Condition_FODs + Language_used_FODs + Condition_FODs*Language_used_FODs, adjust = "tukey") post_hoc

Questions about programming?Chat with your personal AI assistant