I calculated a GLMM based on the beta distribution (see issue #384):
model_dur_red <- glmmTMB(tr_prop ~ treat + handler * day + corner * day + (1|subject), data = data_red, family = beta_family(link = "logit"))
I can plot the simulated residuals against handler and against corner, but when I try to plot them against treat, the predictor of interest, I get an error message:
plot(simulationOutput, form = data_red$treat)
Error in out$uniformity$p.value[i] <- out$uniformity$details[[i]]$p.value :
replacement has length zero
I calculated a GLMM based on the beta distribution (see issue #384):
model_dur_red <- glmmTMB(tr_prop ~ treat + handler * day + corner * day + (1|subject), data = data_red, family = beta_family(link = "logit"))
I can plot the simulated residuals against handler and against corner, but when I try to plot them against treat, the predictor of interest, I get an error message:Is there anything I can do about this? Thank you!