
Build a specification summary report (preferred alias)
Source:R/api-reports.R
specifications_report.RdBuild a specification summary report (preferred alias)
Usage
specifications_report(
fit,
title = NULL,
data_file = NULL,
output_file = NULL,
include_fixed = FALSE
)Arguments
- fit
Output from
fit_mfrm().- title
Optional analysis title.
- data_file
Optional data-file label (for reporting only).
- output_file
Optional output-file label (for reporting only).
- include_fixed
If
TRUE, include a legacy-compatible fixed-width text block.
Details
summary(out) is supported through summary().
plot(out) is dispatched through plot() for class
mfrm_specifications (type = "facet_elements",
"anchor_constraints", "convergence").
Interpreting output
header/data_spec: run identity and model settings.CenteringScopeis"facet"for whole-facet centering or"remainder"for the legacy constraint on ungrouped, unanchored levels. It applies only to centered facets;NonCenteredFacetremains separate. Older native fits without convention metadata retain"remainder"; an input without a stored constraint specification is"not_recorded".facet_labels: facet sizes and labels.convergence_control: optimizer configuration and status.
Typical workflow
Generate
specifications_report(fit).Verify model settings and convergence metadata.
Use the output as methods and run-documentation support in reports.
Examples
# Supplementary workflow: run explicitly to keep routine checks brief.
# example("specifications_report", run.dontrun = TRUE)
if (FALSE) { # \dontrun{
toy <- load_mfrmr_data("example_operational")
fit <- fit_mfrm(
toy, "Person", c("Rater", "Criterion"), "Score",
method = "MML", quad_points = 7, maxit = 30
)
out <- specifications_report(fit, title = "Toy run")
summary(out)
p_spec <- plot(out, draw = FALSE)
p_spec$data$plot
} # }