View source: R/sprinkle_caption.R
| sprinkle_caption | R Documentation | 
The table caption is often used as a brief title, but may also be used to provide a longer statement explaining how to interpret the table results.
sprinkle_caption(x, caption, ...)
## Default S3 method:
sprinkle_caption(x, caption, ...)
## S3 method for class 'dust_list'
sprinkle_caption(x, caption, ...)
| x | An object of class  | 
| caption | 
 | 
| ... | Additional arguments to pass to other methods. Currently ignored. | 
The caption may be set during the initial dust call.  This
method allows for modification afterward, such as in the case of when a 
dust object is loaded from memory and the initial call cannot be
accessed.
 Change the caption attribute of the dust object.
 Cast an error if x is not a dust object.
 Cast an error if caption is not a character object.
 Cast an error if caption has length greater than 1.
Benjamin Nutter
dust, sprinkle
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.