Detailed description |
R 2.15.2, Windows XP/7 (32-bit), lme4 0.999999.0, Matrix 1.0.9, lattice 0.20.10
require(lme4)
m1 <- lmer(Sepal.Width ~ Sepal.Length + (1 | Species), iris)
m2 <- update(m1, data = iris)
m3 <- update(m2, . ~ .)
m1@call$data
m2@call$data
When defining the update method for mer objects, replace:
extras <- match.call(expand.dots = FALSE)$...
with:
extras <- match.call(call = sys.call(sys.parent()), expand.dots = FALSE)$...
It doesn't do anything obviously different, but... |
|