update.lmList {nlme}R Documentation

Update an lmList Object

Description

The non-missing arguments in the call to the update.lmList method replace the corresponding arguments in the original call used to produce object and lmList is used with the modified call to produce an updated fitted object.

Usage

update(object, formula, data, level, subset, na.action, control, pool)

Arguments

object an object inheriting from class lmList, representing a list of lm fitted objects.
formula a two-sided linear formula with the common model for the individuals lm fits.
other arguments defined as in lmList. See that function's documentation for descriptions of and default values for these arguments.

Value

an updated lmList object.

Author(s)

Jose Pinheiro and Douglas Bates

See Also

lmList

Examples

data(Orthodont)
fm1 <- lmList(Orthodont)
fm2 <- update(fm1, distance ~ I(age - 11))

[Package Contents]