coef.varFunc: varFunc Object Coefficients
Description
This method function extracts the coefficients associated with the
variance function structure represented by object.Usage
## S3 method for class 'varFunc':
coef(object, unconstrained, allCoef, \dots)
## S3 method for class 'varIdent':
coef(object, \dots) <- value
Value
a vector with the coefficients corresponding to object.SIDE EFFECTS
On the left side of an assignment, sets the values of the coefficients
of object to value.Examples
Run this codevf1 <- varPower(1)
coef(vf1)coef(vf1) <- 2
Run the code above in your browser using DataLab