Package-native guide to moving from fitted model objects to
manuscript-draft text, tables, notes, and revision checklists in mfrmr.
This guide currently applies fully to diagnostics-based RSM / PCM
workflows. First-release GPCM fits now support reporting_checklist(),
precision_review_report(), direct curve/graph and residual table helpers,
and caveated APA/QC/export bundles. Use gpcm_capability_matrix() when you
need the formal boundary for the current GPCM reporting path.
In particular, bounded GPCM build_apa_outputs(),
build_visual_summaries(), run_qc_pipeline(),
build_mfrm_manifest(), build_mfrm_replay_script(), and
export_mfrm_bundle() outputs include explicit gpcm_boundary caveats.
Full FACETS-style score-side contract review remains blocked. Scorefile
export, design forecasting, diagnostic/signal-detection screening, and
linking synthesis use their own caveated GPCM routes and should not be
treated as automatic operational-scoring evidence.
Start with the reporting question
"Which parts of this run are draft-complete, and with what caveats?" Use
reporting_checklist()."How should I phrase the model, fit, and precision sections?" For
RSM/PCM, usebuild_apa_outputs()."Which tables should I hand off to a manuscript or appendix?" Use
build_summary_table_bundle(),export_summary_appendix(),apa_table(), andfacet_statistics_report()."How do I explain model-based vs exploratory precision?" Use
precision_review_report()andsummary(diagnose_mfrm(...))."Which caveats need to appear in the write-up?" Use
reporting_checklist()first, thenbuild_apa_outputs()."How should I report candidate-model comparisons?" Use
compare_mfrm()for the same-data comparison table, thenbuild_model_choice_review()andbuild_summary_table_bundle()for cautious model-role, route-boundary, and wording tables."How should I start figure captions or visual-results wording?" Use
visual_reporting_template()for conservative caption and results sentence starters, then verify availability withreporting_checklist()$visual_scope.
Recommended reporting route
Fit with
fit_mfrm().Build diagnostics with
diagnose_mfrm().Review precision strength with
precision_review_report()when inferential language matters.Run
reporting_checklist()to identify missing sections, caveats, and next actions. Use the"Visual Displays"rows as the figure-routing layer for the current run.When strict marginal rows are available, follow up with
plot_marginal_fit()andplot_marginal_pairwise()before finalizing the narrative around local misfit.Create manuscript-draft prose and metadata with
build_apa_outputs(). For boundedGPCM, treat the APA/QC/export stack as caveated sensitivity-reporting output and keep itsgpcm_boundaryvisible.Convert summary outputs to reusable table bundles with
build_summary_table_bundle(), review the bundle withsummary()/plot(), then convert specific components to handoff tables withapa_table()or export them directly withexport_summary_appendix().When candidate models are compared, keep the comparison as a reporting review:
compare_mfrm()->build_model_choice_review()->build_summary_table_bundle(). Treat boundedGPCMas a slope-aware sensitivity route unless the study design explicitly justifies discrimination-based operational scoring.
Model-comparison reporting route
Use compare_mfrm() to build the candidate-model table and inspect
ICComparable, ComparisonBasis, and any nesting warnings before reading
information criteria. Then use build_model_choice_review() to attach the
comparison to explicit model roles, downstream-route boundaries, wording
templates, and optional build_weighting_review() output. Convert that
review with build_summary_table_bundle() when a manuscript appendix,
coauthor handoff, or HTML export needs stable table names.
A conservative bounded-GPCM reporting sequence is:
fit_mfrm() for the equal-weighting RSM / PCM reference,
fit_mfrm() for the bounded GPCM sensitivity fit,
compare_mfrm(), build_model_choice_review(),
build_summary_table_bundle(), then export_summary_appendix() or
export_mfrm_bundle(). Do not use AIC, BIC, or log-likelihood alone as
an automatic operational-scoring decision.
Latent-regression reporting route
Active latent-regression fits expose their reporting surface through
summary(fit)$population_overview,
summary(fit)$population_coefficients,
summary(fit)$population_coding, and fit-level caveats. Report those
coefficients as conditional-normal population-model parameters, not as a
post-hoc regression on EAP or MLE scores. Also report the
population_formula, coding/contrast information, population_policy, and
omitted-person or omitted-row counts when complete-case handling was used.
Prediction-side helpers predict_mfrm_units() and
sample_mfrm_plausible_values() can carry the fitted population model into
future-unit scoring and plausible-value draws. In 0.2.2 this remains a
first-version, one-dimensional MML route for RSM / PCM; avoid stronger
claims about multidimensional latent regression, Wald tests, posterior
predictive checking, or full external-engine equivalence unless those checks
were performed outside this helper family.
Publication-readiness boundary
mfrmr can provide a defensible measurement-output trail for a manuscript:
fitted model summaries, diagnostic tables, precision review, report
templates, APA table metadata, figure-routing guidance, and reproducible
exports. It does not decide whether a specific journal claim is warranted.
For high-stakes or selective journals, use the package outputs together
with the study design, measurement rationale, primary citations, sensitivity
checks, and substantive argument for the target field.
Treat DraftReady, ReadyForAPA, ClaimStrength, and report-template rows
as drafting and caveat-routing aids. They are not formal acceptance rules,
proof of validity, or a substitute for peer-review judgment. Before copying
text, inspect mfrm_report(res, style = "apa")$first_screen,
$claim_readiness, $report_gaps, and $template_index.
Which helper answers which task
reporting_checklist()Turns current analysis objects into a prioritized revision guide with
DraftReady,Priority, andNextAction.DraftReadymeans "ready to draft with the documented caveats";ReadyForAPAis retained as a backward-compatible alias, and neither field means "formal inference is automatically justified". The"Visual Displays"rows also mirror the public plot family, so the checklist doubles as a figure-routing surface.build_apa_outputs()Builds shared-contract prose, table notes, captions, and a section map from the current fit and diagnostics.
build_summary_table_bundle()Turns supported
summary()outputs into nameddata.frametables plus an index for manuscript or appendix handoff, and now also supports bundle-levelsummary()/plot()for role coverage and numeric QC.export_summary_appendix()Writes those validated summary-table bundles to CSV and optional HTML appendix artifacts without requiring a full fit-based export bundle.
apa_table()Produces reproducible base-R tables with APA-oriented labels, notes, and captions.
precision_review_report()Summarizes whether precision claims are model-based, hybrid, or exploratory.
facet_statistics_report()Provides facet-level summaries that often feed result tables and appendix material.
build_visual_summaries()Prepares publication-oriented figure data that can be cited from the report text.
visual_reporting_template()Provides conservative figure placement, caption-starter, results-wording, and overclaim-avoidance guidance for public visual helpers.
Practical reporting rules
Treat
reporting_checklist()as the gap finder andbuild_apa_outputs()as the writing engine.Use the checklist's
"Visual Displays"rows to decide whether the next follow-up should beplot_qc_dashboard(),plot_marginal_fit(),plot_residual_pca(),plot_bias_interaction(), or another public plot.Use
visual_reporting_template()to draft visual captions and results-sentence starters, but do not paste the skeletons without checking the actual fit, diagnostics, and study context.Phrase formal inferential claims only when the precision tier is model-based.
Keep bias and differential-functioning outputs in screening language unless the current precision layer and linking evidence justify stronger claims.
Treat
DraftReady(and the legacy aliasReadyForAPA) as a drafting-readiness flag, not as a substitute for methodological review.Rebuild APA outputs after major model changes instead of editing old text by hand.
For bounded
GPCM, use APA/QC/export helpers only as caveated sensitivity-reporting surfaces and keep full FACETS-style score-side review outside this route.
Fit-to-HTML reporting bundle
When the user already has a fitted object and wants a local report folder in
one call, use export_mfrm_bundle() directly:
export_mfrm_bundle(fit, include = c("core_tables", "checklist", "dashboard", "apa", "summary_tables", "manifest", "script", "html")).
This route computes missing diagnostics, writes CSV/text/replay artifacts,
and creates a lightweight HTML summary without requiring a prior
mfrm_results() object. Use mfrm_results() and mfrm_report() first when
the goal is interactive triage or report-readiness review; use
export_mfrm_bundle() when the goal is a file bundle for a project folder,
coauthor handoff, or supplementary-methods archive.
Typical workflow
Manuscript-first route:
fit_mfrm()->diagnose_mfrm()->reporting_checklist()->build_apa_outputs()->build_summary_table_bundle()->summary()/plot()->apa_table(),export_summary_appendix(), orexport_mfrm_bundle()(include = c("summary_tables", "html")). ForRSM/PCMfinal reports, prefermethod = "MML"anddiagnostic_mode = "both"in the diagnostics step. For boundedGPCM, use the same fit-based reporting/export family only as caveated sensitivity-reporting output and inspect itsgpcm_boundaryrows before writing claims.Appendix-first route:
facet_statistics_report()->apa_table()->build_visual_summaries()->build_apa_outputs().Precision-sensitive route:
diagnose_mfrm()->precision_review_report()->reporting_checklist()->build_apa_outputs().bounded
GPCMroute:diagnose_mfrm()->precision_review_report()->reporting_checklist()-> direct residual/category/information helpers -> caveatedbuild_apa_outputs(),build_visual_summaries(),run_qc_pipeline(), orexport_mfrm_bundle()as needed.Model-comparison route:
compare_mfrm()->build_model_choice_review()->build_summary_table_bundle()->export_summary_appendix()orexport_mfrm_bundle()(include = c("summary_tables", "html")).
Companion guides
For report/table selection, see mfrmr_reports_and_tables.
For end-to-end analysis routes, see mfrmr_workflow_methods.
For visual follow-up, see mfrmr_visual_diagnostics.
For the bounded
GPCMsupport statement, see gpcm_capability_matrix.For a longer walkthrough, see
vignette("mfrmr-reporting-and-apa", package = "mfrmr").
Examples
if (FALSE) { # \dontrun{
toy <- load_mfrmr_data("example_core")
fit <- fit_mfrm(
toy,
person = "Person",
facets = c("Rater", "Criterion"),
score = "Score",
method = "MML",
quad_points = 7,
maxit = 30
)
diag <- diagnose_mfrm(fit, residual_pca = "none", diagnostic_mode = "both")
checklist <- reporting_checklist(fit, diagnostics = diag)
visual_reporting_template("manuscript")[, c("FigureFamily", "CaptionSkeleton")]
head(checklist$checklist[, c("Section", "Item", "DraftReady", "NextAction")])
subset(
checklist$checklist,
Section == "Visual Displays",
c("Item", "Available", "NextAction")
)
apa <- build_apa_outputs(fit, diagnostics = diag)
apa$section_map[, c("SectionId", "Available")]
tbl <- apa_table(fit, which = "summary")
tbl$caption
bundle <- build_summary_table_bundle(checklist)
bundle$table_index
apa_from_bundle <- apa_table(bundle, which = "section_summary")
apa_from_bundle$caption
report_bundle <- export_mfrm_bundle(
fit,
diagnostics = diag,
output_dir = tempdir(),
prefix = "mfrmr_report_bundle",
include = c("core_tables", "checklist", "apa", "summary_tables", "html"),
overwrite = TRUE
)
report_bundle$summary[, c("FilesWritten", "HtmlWritten")]
} # }