Learn R Programming

nlme (version 3.1-68.1)

Covariate: Assign Covariate Values

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 all varFunc classes.

Usage

covariate(object) <- value

Arguments

object
any object with a covariate component.
value
a value to be assigned to the covariate associated with object.

Value

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

See Also

getCovariate

Examples

Run this code
## see the method function documentation

Run the code above in your browser using DataLab