Skip to contents

Output format for methods report in R Markdown (Word/docx)

Usage

methods_report(
  toc = FALSE,
  toc_depth = 3,
  fig_width = 5,
  fig_height = 4,
  keep_md = FALSE,
  md_extensions = NULL,
  pandoc_args = NULL
)

Arguments

toc

Logical; include a table of contents (default: FALSE).

toc_depth

Integer; depth of table of contents (default: 3).

fig_width

Numeric; width (in inches) of figures (default: 5).

fig_height

Numeric; height (in inches) of figures (default: 4).

keep_md

Logical; keep the intermediate markdown file (default: FALSE).

md_extensions

Character vector of additional markdown extensions to use (default: NULL).

pandoc_args

Character vector of additional Pandoc command line arguments (default: NULL).

Value

An R Markdown output format object for use with rmarkdown::render (Word/docx output).