Update an lme Object
Usage
update(object, fixed, data, random, correlation, weights, subset, REML,
na.action, control)
Arguments
object
|
an object inheriting from class lme, representing
a fitted linear mixed-effects model.
|
other arguments
|
defined as in lme. See the
documentation on that function for descriptions of and default values
for these arguments.
|
Description
The non-missing arguments in the call to the update.lme method
replace the corresponding arguments in the original call used to
produce object and lme is used with the modified call to
produce an updated fitted object.Value
an updated lme object.Author(s)
Jose Pinheiro and Douglas BatesSee Also
lmeExamples
library(lme)
data(Orthodont)
fm1 <- lme(distance ~ age, Orthodont, random = ~ age | Subject)
fm2 <- update(fm1, distance ~ age * Sex)