View source: R/mc_updatedCov.R
| mc_updateCov | R Documentation |
Updates the covariance and power parameter vectors stored in a list used during the model fitting algorithm. This function is intended for internal use and distributes covariance parameters across response-specific components and the correlation parameter.
mc_updateCov(list_initial, covariance, list_power_fixed, information, n_resp)
list_initial |
A list containing the current values of the model parameters. The elements
|
covariance |
A numeric vector containing the current values of the covariance parameters for all response variables and, if applicable, the correlation parameter. |
list_power_fixed |
A list of logical values indicating for each response whether the power
parameter should remain fixed ( |
information |
A list containing model dimension information, including the number of
|
n_resp |
An integer specifying the number of response variables in the model. |
A list with the same structure as list_initial, where the elements
tau, power, and rho contain the updated covariance
parameter values for each response variable and the correlation parameter.
The returned object is intended for internal use only.
Wagner Hugo Bonat
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.