update_protLM | R Documentation |
This function changes the parameter variances theta
of all lmerMod
objects present in the model
slot of a protLM
object to a given vector and updates these models accordingly.
update_protLM(protLM, theta, sigmas = NULL, df_sigmas = NULL, printProgress = FALSE, shiny = FALSE, message = NULL, ...)
theta |
A numeric matrix wherein each column contains parameter variances (theta values) that will replace the theta values in all |
sigmas |
A vector of length equal to the |
df_sigmas |
A vector of length equal to the |
printProgress |
A logical indicating whether the R should print a message before performing each preprocessing step. Defaults to |
shiny |
A logical indicating whether this function is being used by a Shiny app. Setting this to |
message |
Only used when |
... |
Other arguments to be passed to the |
object |
A |
A lmerMod
object of which the parameter variances are replaced by the ones given in the theta
input argument.
Bolker (2016). Wald errors of variances, https://rpubs.com/bbolker/waldvar
....
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.