Learn R Programming

nlme (version 3.1-163)

Coef: Assign Values to Coefficients

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 "pdMat", "corStruct" and "varFunc" classes, "reStruct", and "modelStruct".

coefficients<- is an alias for coef<-.

Usage

coef(object, ...) <- value

coefficients(object, ...) <- value

Value

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

Arguments

object

any object representing a fitted model, or, by default, any object with a coef component.

...

some methods for this generic function may require additional arguments.

value

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

Author

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

See Also