View source: R/facets_mode_methods.R
| plot.mfrm_facets_run | R Documentation |
Plot outputs from a legacy-compatible workflow run
## S3 method for class 'mfrm_facets_run'
plot(x, y = NULL, type = c("fit", "qc"), ...)
x |
A |
y |
Unused. |
type |
Plot route: |
... |
Additional arguments passed to the selected plot function. |
This method is a router for fast visualization from a one-shot workflow result:
type = "fit" for model-level displays.
type = "qc" for multi-panel quality-control diagnostics.
A plotting object from the delegated plot route.
Returns the plotting object produced by the delegated route:
plot.mfrm_fit() for "fit" and plot_qc_dashboard() for "qc".
Run run_mfrm_facets().
Start with plot(out, type = "fit", draw = FALSE).
Continue with plot(out, type = "qc", draw = FALSE) for diagnostics.
run_mfrm_facets(), plot.mfrm_fit(), plot_qc_dashboard(),
mfrmr_visual_diagnostics, mfrmr_workflow_methods
toy <- load_mfrmr_data("example_core")
toy_small <- toy[toy$Person %in% unique(toy$Person)[1:12], , drop = FALSE]
out <- run_mfrm_facets(
data = toy_small,
person = "Person",
facets = c("Rater", "Criterion"),
score = "Score",
maxit = 10
)
p_fit <- plot(out, type = "fit", draw = FALSE)
class(p_fit)
p_qc <- plot(out, type = "qc", draw = FALSE)
class(p_qc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.