nlme (version 3.1-39)

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

## S3 method for class 'lmList':
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.

See Also

lmList

Examples

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

Run the code above in your browser using DataLab