Extract Covariate from an Object

DESCRIPTION:

This function is generic; method functions can be written to handle specific classes of objects. Classes which already have methods for this function include corStruct, corSpatial, data.frame , and varFunc.

USAGE:

getCovariate(object, form, data) 

REQUIRED ARGUMENTS:

object
any object with a covariate component

OPTIONAL ARGUMENTS:

form
an optional one-sided formula specifying the covariate(s) to be extracted. Defaults to formula(object).
data
a data frame in which to evaluate the variables defined in form.

VALUE:

will depend on the method function used; see the appropriate documentation.

SEE ALSO:

, , ,

EXAMPLES:

## see the method function documentation