getResponse.lmList {nlme}R Documentation

Extract lmList Object Response

Description

The response vectors from each of the lm components of object are extracted and combined into a single vector.

Usage

getResponse(object, form)

Arguments

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).

Value

a vector with the response vectors corresponding to the lm components of object.

Author(s)

Jose Pinheiro Jose.Pinheiro@pharma.novartis.com and Douglas Bates bates@stat.wisc.edu

See Also

lmList

Examples

data(Orthodont)
fm1 <- lmList(distance ~ age | Subject, Orthodont)
getResponse(fm1)

[Package Contents]