nlme (version 3.1-1)

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

getResponse(object)

Arguments

object
an object inheriting from class lmList, representing a list of lm objects with a common model.

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 DataCamp Workspace