View source: R/api-simulation.R
| plot.mfrm_recovery_simulation | R Documentation |
Plot parameter-recovery simulation results
## S3 method for class 'mfrm_recovery_simulation'
plot(
x,
y = NULL,
type = c("summary", "coverage", "errors", "scatter", "replications"),
metric = c("rmse", "bias", "mae", "correlation", "coverage", "mcse_bias", "mcse_rmse",
"raw_rmse", "raw_bias", "mean_se", "se_available"),
parameter_type = NULL,
facet = NULL,
comparison = c("aligned", "unaligned"),
draw = TRUE,
...
)
x |
Output from |
y |
Reserved for S3 generic compatibility. |
type |
Plot route: |
metric |
Summary metric used when |
parameter_type |
Optional parameter type filter, such as |
facet |
Optional facet filter. |
comparison |
Error/estimate scale for row-level routes. |
draw |
If |
... |
Reserved for future extensions. |
These plots are intended as simulation-review graphics. They do not replace
the row-level x$recovery table or the ADEMP metadata; they make the main
recovery estimands easier to inspect during model-development and design
checks. Coverage is displayed only for parameter groups with available
standard errors.
An mfrm_plot_data object. When draw = TRUE, the object is returned
invisibly after drawing.
evaluate_mfrm_recovery(), summary()
rec <- evaluate_mfrm_recovery(
n_person = 12,
n_rater = 2,
n_criterion = 2,
reps = 1,
maxit = 30,
seed = 123
)
plot(rec, type = "summary", metric = "rmse", draw = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.