lme(formula, data, random, ...)
~
operator and the terms, separated by +
operators, on
the right.formula
, random
, correlation
, weights
, and
subset
. By default the variables are taken from the
environment from which ~x1+...+xn | g1/.../gm
, with x1+...+xn
specifying the model for the random effects and g1/.../gm
the
grouping structure (m
mlme-class{lme}
object.lmer
is in the development
versions of this package. The lmer
function has a slightly
modified calling sequence from lme
and produces an object with an
lmer
representation of the model. The object
produced by lme
uses the ssclme
representation.
Additional standard arguments to model-fitting functions can be passed
to lme
.
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]lme-class
, lm
(fm1 <- lme(decrease ~ treatment, OrchardSprays,
list(rowpos = ~ 1, colpos = ~ 1)))
Run the code above in your browser using DataLab