View source: R/api-dashboards.R
| plot_facet_quality_dashboard | R Documentation |
Plot a facet-quality dashboard
plot_facet_quality_dashboard(
x,
diagnostics = NULL,
facet = NULL,
bias_results = NULL,
severity_warn = 1,
misfit_warn = 1.5,
central_tendency_max = 0.25,
bias_count_warn = 1L,
bias_abs_t_warn = 2,
bias_abs_size_warn = 0.5,
bias_p_max = 0.05,
plot_type = c("severity", "flags"),
top_n = 20,
main = NULL,
palette = NULL,
label_angle = 45,
draw = TRUE,
...
)
x |
Output from |
diagnostics |
Optional output from |
facet |
Optional facet name. |
bias_results |
Optional bias bundle or list of bundles. |
severity_warn |
Absolute estimate cutoff used to flag severity outliers. |
misfit_warn |
Mean-square cutoff used to flag misfit. |
central_tendency_max |
Absolute estimate cutoff used to flag central tendency. |
bias_count_warn |
Minimum flagged-bias row count required to flag a level. |
bias_abs_t_warn |
Absolute |
bias_abs_size_warn |
Absolute bias-size cutoff used when deriving bias-row flags from a raw bias bundle. |
bias_p_max |
Probability cutoff used when deriving bias-row flags from a raw bias bundle. |
plot_type |
Plot type, |
top_n |
Number of rows to keep in the plot data. |
main |
Optional plot title. |
palette |
Optional named color overrides. |
label_angle |
Label angle hint for the |
draw |
If |
... |
Reserved for generic compatibility. |
A plotting-data object of class mfrm_plot_data.
facet_quality_dashboard(), summary.mfrm_facet_dashboard()
toy <- load_mfrmr_data("example_core")
fit <- fit_mfrm(toy, "Person", c("Rater", "Criterion"), "Score", method = "JML", maxit = 25)
diag <- diagnose_mfrm(fit, residual_pca = "none")
p <- plot_facet_quality_dashboard(fit, diagnostics = diag, draw = FALSE)
class(p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.