coefGets {Matrix}R Documentation

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

Author(s)

Douglas Bates bates@stat.wisc.edu and Saikat DebRoy saikat@stat.wisc.edu

Examples

m1 <- pdLogChol(~ age)
coef(m1) <- rnorm(3)
m1

[Package Contents]