lmer(formula, data, ...)
~
operator and the terms, separated by +
operators, on
the right. The vertical bar character
formula
. By default the variables are taken from the
environment from which lmer
is called.lme-class{lmer}
object.lme
function from the
nlme
package.
Additional standard arguments to model-fitting functions can be passed
to lmer
.
[object Object],[object Object],[object Object],[object Object],[object Object]lmer-class
, lm
(fm1 <- lmer(decrease ~ treatment + (1|rowpos) + (1|colpos),
OrchardSprays))
Run the code above in your browser using DataLab