object.
"coef"(object, unconstrained, allCoef, ...)
"coef"(object, ...) <- 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 TRUE.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 new values can be
assigned to its coefficients.object.
object to value.varFuncvf1 <- varPower(1)
coef(vf1)
coef(vf1) <- 2
Run the code above in your browser using DataLab