Coef function

Assign Values to Coefficients

Assign Values to Coefficients

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<-.

coef(object, ...) <- value coefficients(object, ...) <- value

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.

Returns

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

Author(s)

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

See Also

coef

  • Maintainer: R Core Team
  • License: GPL (>= 2)
  • Last published: 2025-03-31