supp.tbl.caption: Supplemental Table Caption

View source: R/supp_tbl_caption.R

supp.tbl.captionR Documentation

Supplemental Table Caption

Description

Create an auto-numbered, wrapped supplemental table caption

Usage

supp.tbl.caption(caption, s.numbers = FALSE, caption.width = 98)

Arguments

caption

A string containing the caption text.

s.numbers

If it is a supplmental figure, how to you want it formatted: "Supplemental Table 1" (FALSE) or "Table S1" (TRUE)? Defaults to FALSE.

caption.width

A positive integer giving the target column for wrapping lines in the output. Defaults to 98

See Also

table.caption, wrap.caption

Examples

data(example_data)

knitr::kable(example.data, format = "latex", caption = supp.tbl.caption("This is a table"))

kstagaman/autoNumCaptions documentation built on Sept. 13, 2022, 12:38 p.m.