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) 

REQUIRED ARGUMENTS:

object
an object inheriting from class data.frame.

OPTIONAL ARGUMENTS:

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:

EXAMPLES:

getCovariate(Orthodont)