Extract Response from a Data Frame

Usage

getResponse(object, form)

Arguments

object an object inheriting from class data.frame.
form an optional formula specifying the response to be evaluated in object. Defaults to formula(object).

Description

The left hand side of form is evaluated in object.

Value

the value of the left hand side of form evaluated in object.

Author(s)

Jose Pinheiro and Douglas Bates

See Also

getResponseFormula

Examples

library(lme)
data(Orthodont)
getResponse(Orthodont)


[Package Contents]