nlme (version 3.1-1)

getCovariate.data.frame: Extract Data Frame Covariate

Description

The right hand side of form, stripped of any conditioning expression (i.e. an expression following a | operator), is evaluated in object.

Usage

getCovariate(object, form)

Arguments

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

Value

  • the value of the right hand side of form, stripped of any conditional expression, evaluated in object.

See Also

getCovariateFormula

Examples

Run this code
data(Orthodont)
getCovariate(Orthodont)

Run the code above in your browser using DataLab