Generation

fix invalid codeWed, 10 May 2023

> model <- glmer(cat_SNB_new ~ 0 + Condition_SNB * nativelang_SNB - 1+ (1 | subject_SNB), + data = s_complete, family = binomial) Warning message: In checkConv(attr(opt, "derivs"), opt$par, ctrl = control$checkConv, : Model failed to converge with max|grad| = 0.00334429 (tol = 0.002, component 1) why it did not work? please fix this

<details> <summary>Click to see the solution</summary> <p> - The model formula is not correct. There is no random effect in your model. - The model has not converged. Change the optimizer to NAG, and it runs really good.

Questions about programming?Chat with your personal AI assistant