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)
Value
the value of the right hand side of form
, stripped of
any conditional expression, evaluated in object
.
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.