Generation

generate functionFri, 05 May 2023

> table(s_complete$cat_SNB_new) 0 1 2148 1360 > model <- lmer(cat_SNB_new ~ Condition_SNB * Dotcounting_SNB + (1 | subject_SNB), data = na.omit(s_complete)) Error in mkRespMod(fr, REML = REMLpass) : response must be numeric

y <- as.numeric(s_complete$cat_SNB_new) model <- lmer(y ~ Condition_SNB * Dotcounting_SNB + (1 | subject_SNB), data = na.omit(s_complete))

Questions about programming?Chat with your personal AI assistant