Learn R Programming

nlme (version 3.1-38)

getResponse.data.frame: Extract Response from a Data Frame

Description

The left hand side of form is evaluated in object.

Usage

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

Value

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

See Also

getResponseFormula

Examples

Run this code
data(Orthodont)
getResponse(Orthodont)

Run the code above in your browser using DataLab