Extract Data Frame Covariate
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).
|
Description
The right hand side of form, stripped of any conditioning
expression (i.e. an expression following a | operator), is
evaluated in object.Value
the value of the right hand side of form, stripped of
any conditional expression, evaluated in object.Author(s)
Jose Pinheiro and Douglas BatesSee Also
getCovariateFormulaExamples
library(lme)
data(Orthodont)
getCovariate(Orthodont)