object
.## S3 method for class 'varFunc':
coef(object, unconstrained, allCoef, \dots)
## S3 method for class 'varIdent':
coef(object, \dots) <- value
"varFunc"
representing a variance function structure.TRUE
the coefficients
are returned in unconstrained form (the same used in the optimization
algorithm). If FALSE
the coefficients are returned in
"natural", generally constrained form. Defaults to FALSE
only the coefficients
which may vary during the optimization are returned. If TRUE
all coefficients are returned. Defaults to FALSE
.object
. It must be have the same length of
coef{object}
and must be given in unconstrained
form. Object
must be initialized before neobject
.object
to value
.varFunc
vf1 <- varPower(1)
coef(vf1)coef(vf1) <- 2
Run the code above in your browser using DataLab