View source: R/sprinkle_label.R
sprinkle_label | R Documentation |
The label
property is used to make references to a
table. Labels may be used in LaTeX documents, or in both LaTeX and
HTML documents when using bookdown
.
sprinkle_label(x, label = NULL, ...)
## Default S3 method:
sprinkle_label(x, label = NULL, ...)
## S3 method for class 'dust_list'
sprinkle_label(x, label = NULL, ...)
x |
An object of class |
label |
|
... |
Additional arguments to pass to other methods. Currently ignored. |
For details about using labels in LaTeX documents, see https://en.wikibooks.org/wiki/LaTeX/Labels_and_Cross-referencing.
For details about using labels in bookdown
documents, see
https://bookdown.org/yihui/bookdown/tables.html
Change the label
attribute of the dust
object.
Cast an error if x
is not a dust
object.
Cast an error if label
is not a character(1)
.
Benjamin Nutter
https://en.wikibooks.org/wiki/LaTeX/Labels_and_Cross-referencing
https://bookdown.org/yihui/bookdown/tables.html
dust
, sprinkle
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.