modelStruct
list.# S3 method for modelStruct
coef(object, unconstrained, …)
# S3 method for modelStruct
coef(object, …) <- value
TRUE
the coefficients
are returned in unconstrained form (the same used in the optimization
algorithm). If FALSE
the coefficients are returned in
"natural", possibly constrained, form. Defaults to TRUE
.object
. It must be a vector with the same length
of coef{object}
and must be given in unconstrained form.object
.object
to value
. Object
must be initialized (using
Initialize
) before new values can be assigned to its
coefficients.Initialize
lms1 <- lmeStruct(reStruct = reStruct(pdDiag(diag(2), ~age)),
corStruct = corAR1(0.3))
coef(lms1)
Run the code above in your browser using DataLab