You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There was no typo in that script I first sent you, because I had rewritten the variable names to make it easier to follow (because I had long variable names).
Here is an example that would reproduce what I was wondering:
mod <- glmer(cbind(shared_richness, non_shared_richness) ~ built + outdoor + timepoint + (1|recoded_person_ID), family=binomial, data=dat)
simulationOutput <- simulateResiduals(fittedModel = mod, plot = T)
plotResiduals(simulationOutput, form = dat$BUILT)
So in this case, if I don’t have variable BUILT in my data, I don’t get any warning message. Instead, I get predicted() on x plot.
Have to check if this is indeed the case and probably best to throw an error instead!
The text was updated successfully, but these errors were encountered:
Reported via email
Have to check if this is indeed the case and probably best to throw an error instead!
The text was updated successfully, but these errors were encountered: