Skip to contents

Export Table 1 or Table 1b to Markdown, LaTeX, Quarto, Typst, or CSV

Usage

export_table1(
  table1_result,
  output_path = NULL,
  format = "markdown",
  which_table = "table1",
  ...
)

Arguments

table1_result

Result list from generate_table1() or a data.frame.

output_path

Optional file path to write output.

format

Output format ("markdown", "latex", "quarto", "typst", "csv").

which_table

Name of table to export ("table1" or "table1b").

...

Additional arguments passed to table1_to_quarto or table1_to_typst (e.g. caption, label, loinc_footnotes).

Value

Formatted character string.