View source: R/supp_tbl_caption.R
supp.tbl.caption | R Documentation |
Create an auto-numbered, wrapped supplemental table caption
supp.tbl.caption(caption, s.numbers = FALSE, caption.width = 98)
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 |
table.caption
, wrap.caption
data(example_data) knitr::kable(example.data, format = "latex", caption = supp.tbl.caption("This is a table"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.