Sets or updates the covariance matrix of random effects
randomEffect.Rd
Use to set or update the covariance matrix of random effects in a model object.
Arguments
- .Object
Model object
- effect
One or more names of available random effects.
- value
Initial values for the diagonal elements of the covariance matrix of random effects (if
isDiagonal = TRUE
, or initial values for the lower triangular elements (including diagonal elements) of the covariance matrix (ifisDiagonal = FALSE
) in a row-wise order.- isDiagonal
Set to
TRUE
to if the covariance matrix of the specified random effects is a diagonal matrix. orFALSE
if not.- isFrozen
Set to
TRUE
to freeze the covariance matrix of random effects.- ...
Additional arguments