nlme (version 3.1-1)

update.lmList: 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.

See Also

lmList

Examples

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

Run the code above in your browser using DataLab