View source: R/topic_long_table_caption.R
topic_long_table_caption | R Documentation |
Generate a LaTeX table caption
topic_long_table_caption(
x,
text = NULL,
label = NULL,
combine_short_long = TRUE,
latex_clean = TRUE,
verbatim = NULL
)
x |
The object to make into a topiclongtable (typically a data.frame or matrix) |
text |
Text to place in the caption. See Details. |
label |
The label for the caption |
combine_short_long |
Should the short and long captions be combined for the long caption? See Details. |
latex_clean |
Should cleaning occur? Cleaning is: If a data.frame or
matrix, the contents are run through
|
verbatim |
Use the provided character scalar verbatim without other processing. |
For text
, if NULL
, the caption attribute for x
will be used, if it exists. If neither is provided, the caption will be an
empty string (i.e. no caption). If the length of the character vector for
the caption text (as defined earlier in this paragraph) is 1, the caption
will be used as-is; if the length is 2 and combine_short_long ==
TRUE
, then the first element will be used as the short caption and the
first and second will be pasted together for the long caption.
The caption for inclusion in a table or an empty string if no caption is provided.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.