
Export Synthesis Reports
report_export.RdConvenience exporters for synthesis_report objects. These helpers create
manuscript-ready report text in markdown, HTML, or DOCX format.
Usage
as_markdown(x, ...)
# S3 method for class 'synthesis_report'
as_markdown(x, file = NULL, digits = 3, ...)
as_html(x, ...)
# S3 method for class 'synthesis_report'
as_html(x, file = NULL, digits = 3, ...)
as_docx(x, ...)
# S3 method for class 'synthesis_report'
as_docx(x, file, digits = 3, ...)Examples
if (FALSE) { # \dontrun{
report <- synthesis_factor_report(fit, factor_method = "none")
markdown <- as_markdown(report)
html <- as_html(report)
as_docx(report, file = tempfile(fileext = ".docx"))
} # }