Closed pbreheny closed 3 years ago
Current visreg() crashes:
visreg()
library (lme4) library (visreg) library (MuMIn) data (Milk, package = "nlme") fit <- lmer (protein ~ Diet + Time + (Time | Cow), Milk) v <- visreg (fit, "Time", by = "Cow", re.form = ~ (Time | Cow), plot = FALSE) # Error: cannot calculate predictions with both standard errors and random effects
User should be able to turn off se.fit in this case:
se.fit
v <- visreg (fit, "Time", by = "Cow", re.form = ~ (Time | Cow), plot = FALSE, se.fit=FALSE)
but visreg() does not currently allow this (formal argument "se.fit" matched by multiple actual arguments).
formal argument "se.fit" matched by multiple actual arguments
Current
visreg()
crashes:User should be able to turn off
se.fit
in this case:but
visreg()
does not currently allow this (formal argument "se.fit" matched by multiple actual arguments
).