getResponse.lmList {nlme} | R Documentation |
The response vectors from each of the lm
components of
object
are extracted and combined into a single vector.
getResponse(object, form)
object |
an object inheriting from class lmList , representing
a list of lm objects with a common model.
|
form |
an optional two-sided formula. Defaults to
formula(object) . |
a vector with the response vectors corresponding to the lm
components of object
.
Jose Pinheiro Jose.Pinheiro@pharma.novartis.com and Douglas Bates bates@stat.wisc.edu
data(Orthodont) fm1 <- lmList(distance ~ age | Subject, Orthodont) getResponse(fm1)