sim_eval_components | R Documentation |
This function takes the folder containing the results of a simulation scenario and returns a data frame with relative MSE values for the separate model components.
sim_eval_components(folder, m_true_comp, label_cov, relative = TRUE, I = 9,
J = 16, reps = 5, nested = FALSE, fixed_fpc = TRUE, sigma2 = NULL)
folder |
Folder with saved objects from the simulation. |
m_true_comp |
True model components used for the simulation. |
label_cov |
Vector of labels for the covariates. |
relative |
Is the relative error measure to be used or the absolute? Defaults to TRUE. |
I |
Number of levels for component B. Defaults to 9. |
J |
Number of levels for component C. Defaults to 16. |
reps |
Number of repetitions of the levels of B and C. Defaults to 5. |
nested |
TRUE if the model component C is nested. Defaults to FALSE. |
fixed_fpc |
FALSE if the number of FPCs in the model is selected by the model not by the user. This means that eigenvalues, scores and eigenfunctions are not evaluated. Defaults to TRUE. |
sigma2 |
Vector of true values can be supplied if they differ from the values in m_true_comp. Defaults to NULL. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.