nlme (version 3.1-148)

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

# S3 method for data.frame
getCovariate(object, form, data)

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).

data

some methods for this generic require a separate data frame. Not used in this method.

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
# NOT RUN {
getCovariate(Orthodont)
# }

Run the code above in your browser using DataCamp Workspace