Learn R Programming

nlme (version 3.1-166)

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

Value

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

Arguments

object

any object with a covariate component.

value

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

Author

José Pinheiro and Douglas Bates bates@stat.wisc.edu

See Also

getCovariate

Examples

Run this code
## see the method function documentation

Run the code above in your browser using DataLab