Last chance! 50% off unlimited learning
Sale ends in
The right hand side of form
, stripped of any conditioning
expression (i.e. an expression following a |
operator), is
evaluated in object
.
# S3 method for data.frame
getCovariate(object, form, data)
an object inheriting from class data.frame
.
an optional formula specifying the covariate to be
evaluated in object
. Defaults to formula(object)
.
some methods for this generic require a separate data frame. Not used in this method.
the value of the right hand side of form
, stripped of
any conditional expression, evaluated in object
.
# NOT RUN {
getCovariate(Orthodont)
# }
Run the code above in your browser using DataLab