
Last chance! 50% off unlimited learning
Sale ends in
This method function checks if any of the elements of object
needs to be updated. Updating of objects usually takes place in
iterative algorithms in which auxiliary quantities associated with the
object, and not being optimized over, may change.
# S3 method for modelStruct
needUpdate(object)
a logical value indicating whether any element of object
needs
to be updated.
an object inheriting from class "modelStruct"
,
representing a list of model components, such as corStruct
and
varFunc
objects.
José Pinheiro and Douglas Bates bates@stat.wisc.edu
needUpdate
lms1 <- lmeStruct(reStruct = reStruct(pdDiag(diag(2), ~age)),
varStruct = varPower(form = ~age))
needUpdate(lms1)
Run the code above in your browser using DataLab