View source: R/api-simulation.R
| plot.mfrm_diagnostic_screening | R Documentation |
Builds an integrated visual summary from
evaluate_mfrm_diagnostic_screening() output. The default view combines
legacy residual, strict marginal, strict pairwise, strict combined, and
optional report-index review rates so simulation results can be inspected in
one operating-characteristic surface.
## S3 method for class 'mfrm_diagnostic_screening'
plot(
x,
type = c("overview", "report", "contrast", "runtime"),
metric = NULL,
x_var = c("n_person", "n_rater", "n_criterion", "raters_per_person"),
group_var = NULL,
draw = TRUE,
...
)
x |
Output from |
type |
Plot family. |
metric |
Metric family. Use |
x_var |
Design variable for the horizontal axis. Public design aliases from a simulation specification are accepted. |
group_var |
Optional additional design variable to include in group labels. Public design aliases are accepted. |
draw |
Logical; if |
... |
Reserved for future extensions. |
An mfrm_plot_data object with reusable metadata, a long-form
plot_long table, and interpretation handoff tables (overview,
reading_order, next_actions, reporting_notes, and
figure_recipes). When draw = TRUE, the object is returned invisibly
after drawing.
diag_eval <- evaluate_mfrm_diagnostic_screening(
design = list(person = 10, rater = 2, criterion = 2, assignment = 2),
reps = 1,
maxit = 30,
include_report = TRUE,
seed = 123
)
plot(diag_eval, type = "overview", draw = FALSE)
plot_data(diag_eval, type = "overview", component = "plot_long")
plot_data(diag_eval, type = "overview", component = "next_actions")
plot_data(diag_eval, type = "overview", component = "figure_recipes")
plot(diag_eval, type = "report", metric = "rate", draw = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.