Renders the active Rasch or paired-comparison fit as one Markdown file, a
self-contained HTML document, an editable Word document, or a PDF. The
report contains the principal estimates, model-specific tables, diagnostic
figures, and software provenance. Complete machine-readable results remain
available from save_outputs. Reports downloaded from the application
retain compatible tailored item shifts and externally weighted secondary
person measures.
For keyed fits with repeated person IDs, the report explains why distractor
analysis is unavailable and retains the other model outputs.
Usage
report_document(
fit,
file,
format = c("auto", "md", "html", "docx", "pdf"),
title = "Rasch measurement analysis",
dif = NULL,
bootstrap = NULL,
dif_bootstrap = NULL,
dimensionality = NULL,
invariance = NULL,
subtest = NULL,
tailored = NULL,
person_weights = NULL
)Arguments
- fit
A fitted object from
rasch,rasch_mfrm,rasch_efrm,btl, orbtl_efrm.- file
Output path ending in
.md,.html,.docx, or.pdf.- format
Output format. By default it is inferred from
file."md"writes GitHub-flavoured Markdown: the title is the first heading, the tables are pipe tables, and the diagnostic figures are left out so the report stays one text file that a person or a language model can read as it is.- title
Report title.
- dif, bootstrap
Optional computed
dif_anovaandfit_bootstrapresults from this fit, rendered as run rather than recomputed at defaults.- dif_bootstrap
Optional
dif_bootstrapsensitivity analysis from this fit and DIF specification.- dimensionality
Optional computed
plot_screeorbtl_dimensionalityresult from this fit.- invariance
Optional computed
frame_invarianceresult from an EFRM fit.- subtest
Optional computed
dimensionality_testresult from this fit.- tailored
Optional computed
tailored_analysisresult from this ordinary dichotomous fit.- person_weights
Optional table returned by
weighted_person_estimates. An explicit table takes precedence over a compatible result retained by the application.
Details
Markdown, Word and HTML output require Pandoc, supplied with
RStudio and available through rmarkdown; Markdown needs Pandoc 2.8
or later. PDF output also requires a LaTeX installation such as TinyTeX.
save_outputs writes the figures a Markdown report leaves
out.