Extract lme Object Response
Usage
getResponse(object)
Arguments
object
|
an object inheriting from class lme, representing
a fitted linear mixed-effects model.
|
Description
This method function extracts the response variable used in fitting
the linear mixed-effects model corresponding to object.Value
a vector with the response variable corresponding to the linear
mixed-effects model represented by object.Author(s)
Jose Pinheiro and Douglas BatesSee Also
lmeExamples
library(lme)
data(Orthodont)
fm1 <- lme(distance ~ age, Orthodont, random = ~ age | Subject)
getResponse(fm1)