formula(object)
are used to construct the linear model formula. This formula
and the groupedData
object are passed as the object
and
data
arguments to lmList.formula
, together with any other
additional arguments in the function call. See the documentation on
lmList.formula
for a description of that function.## S3 method for class 'groupedData':
lmList(object, data, level, subset, na.action, pool)
"groupedData"
.data
should be used in the fit. This can be a logical
vector, or a numeric vector indicating which observation numbers are
to be included, or a character vector of NA
s. The default action (na.fail
) causes
lmList
to print an error message and terminate if there are any
incomplete observations.pool
in
calculations of standard deviations or standard errors for summaries.lm
objects with as many components as the number of
groups defined by the grouping factor. Generic functions such as
coef
, fixed.effects
, lme
, pairs
,
plot
, predict
, random.effects
, summary
,
and update
have methods that can be applied to an lmList
object.groupedData
, lm
,
lme.lmList
, lmList
,
lmList.formula
fm1 <- lmList(Orthodont)
summary(fm1)
Run the code above in your browser using DataLab