Convenience exporters for synthesis_report objects. These helpers create manuscript-ready report text in markdown, HTML, or DOCX format.

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, ...)

Arguments

x

A synthesis_report object.

file

Optional output file path. For as_docx(), this argument is required.

digits

Number of digits used in printed summaries.

...

Additional arguments (currently not used).

Value

as_markdown() returns a single markdown string.

as_html() returns a single HTML string.

as_docx() writes a Word document and invisibly returns the output path.