View source: R/api-simulation.R
| plot.mfrm_design_evaluation | R Documentation |
Plot a design-simulation study
## S3 method for class 'mfrm_design_evaluation'
plot(
x,
facet = c("Rater", "Criterion", "Person"),
metric = c("separation", "reliability", "infit", "outfit", "misfitrate",
"severityrmse", "severitybias", "convergencerate", "elapsedsec", "mincategorycount"),
x_var = c("n_person", "n_rater", "n_criterion", "raters_per_person"),
group_var = NULL,
draw = TRUE,
...
)
x |
Output from |
facet |
Facet to visualize. |
metric |
Metric to plot. |
x_var |
Design variable used on the x-axis. |
group_var |
Optional design variable used for separate lines. |
draw |
If |
... |
Reserved for generic compatibility. |
This method is designed for quick design-planning scans rather than polished publication graphics.
Useful first plots are:
rater metric = "separation" against x_var = "n_person"
criterion metric = "severityrmse" against x_var = "n_person"
when you want aligned recovery error rather than raw location shifts
rater metric = "convergencerate" against x_var = "raters_per_person"
If draw = TRUE, invisibly returns a plotting-data list. If
draw = FALSE, returns that list directly.
evaluate_mfrm_design(), summary.mfrm_design_evaluation
sim_eval <- evaluate_mfrm_design(
n_person = c(30, 50),
n_rater = 4,
n_criterion = 4,
raters_per_person = 2,
reps = 1,
maxit = 15,
seed = 123
)
plot(sim_eval, facet = "Rater", metric = "separation", x_var = "n_person", draw = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.