add_label | R Documentation |
pander
tablesThe function adds a reference label to the caption so that pander
tables
can be cross-referenced in bookdown
using the \@ref(tab:label)
syntax.
The function should only be used in pander(x, caption = add_label())
.
add_label(caption = "", tag = "tab")
caption |
The caption text as a string |
tag |
The tag to use as a prefix. Default is |
The caption text prefixed with a reference label.
Other utility:
get_path_to_protocol()
,
get_protocol_type()
,
get_protocolnumbers()
,
get_short_titles()
,
get_version_number()
,
increment_version_number()
add_label("caption text")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.