Inspect an existing diagnostic result to locate cells or elements needing follow-up. The selected display retains unavailable results and screening limits.
Arguments
- x
An
mfrm_diagnosticsresult fromdiagnose_mfrm().- type
"marginal_fit","marginal_pairwise","bubble", or"residual_pca".- view
For marginal fit,
"std_residual"(default) or"prop_diff"; for bubbles,"measure"(default) or"infit_outfit"; for PCA,"scree","parallel_scree","parallel_excess", or"loadings". Omit it for"marginal_pairwise"and usemetricinstead.- ...
All views accept
draw = FALSE,top_n, andpreset. Marginal views acceptfacet; pairwise plots additionally acceptmetric = "exact"or"adjacent". Bubbles acceptfit_stat("Infit"or"Outfit"),bubble_size("SE","N", or"equal"),facets,include_person = FALSE, and the heuristicfit_range = c(0.5, 1.5). PCA acceptsmode,facet, andcomponent, as described inplot.mfrm_residual_pca(). Controls for other views are rejected.
Value
An mfrm_plot_data object. Use plot_data() to inspect its tables
and notes. The plot does not add unavailable diagnostics or qualify intervals.
Choosing a view
Marginal fit and pairwise plots require strict marginal diagnostics from
diagnose_mfrm() with diagnostic_mode = "both" or "marginal_fit" for
supported MML RSM/PCM models. Positive residuals indicate more observed
category usage or agreement than expected; negative values indicate less.
Returned full_table and retention distinguish omitted and unavailable
rows. A flag is a descriptive review rule, not a calibrated test.
Bubble plots place measures against mean-square fit, or Infit against Outfit. Bubble size can represent SE or observation count; neither a review band nor bubble size alone justifies deleting an element.
The PCA convenience route can derive PCA from the diagnostic result.
For repeated PCA displays, first save analyze_residual_pca() and use its
plot() method. Parallel-reference generation remains an analysis step.
