Arguments
formula
a two-sided linear formula object describing the
fixed-effects part of the model, with the response on the left of a
~
operator and the terms, separated by +
operators, on
the right.
data
an optional data frame containing the variables named in
formula
, random
, correlation
, weights
, and
subset
. By default the variables are taken from the
environment from which
random
optionally, any of the following: (i) a one-sided formula
of the form ~x1+...+xn | g1/.../gm
, with x1+...+xn
specifying the model for the random effects and g1/.../gm
the
grouping structure (m
m
...
Optional arguments for methods. Currently none are used.
synopsis
lme(formula, data, random, method = c("REML", "ML"),
control = list(), subset, weights, na.action, offset,
model = TRUE, x = FALSE, y = FALSE, ...)