Skip to contents

Controls the order of footnote sections, or disables footnotes entirely.

Usage

set_spec_footnotes(spec, order)

Arguments

spec

A TableSpec or SummarySpec object

order

Character vector of footnote sections in desired order, or NULL to disable footnotes. For TableSpec: "summary_info", "equations", "abbreviations". For SummarySpec: only "abbreviations" is valid.

Value

Modified spec

Examples

spec <- TableSpec() |>
  set_spec_footnotes(c("abbreviations", "equations"))

# Disable footnotes
spec <- TableSpec() |>
  set_spec_footnotes(NULL)