Rdocumentation
powered by
Learn R Programming
Matrix (version 0.9-1)
coefGets: Assign parameters
Description
A generic function to assign the parameter vector in an object. For historical reasons parameters are accessed with
coef
and assigned with
coef<-
.
Usage
coef(object, ...) <- value
Arguments
object
An object that has a numeric parameter vector accessed by
coef
.
...
Additional arguments used by some methods.
value
A numeric vector of the same length as
coef(object)
.
Value
object
with an updated parameter vector