caption | R Documentation |
By default, captions are displayed above the table. You can change this
with caption_pos()
.
caption(ht) caption(ht) <- value set_caption(ht, value)
ht |
A huxtable. |
value |
A string. Set to |
Captions are not escaped. See the example for a workaround.
caption()
returns the caption
property.
set_caption()
returns the modified huxtable.
Other caption properties:
caption_pos()
,
caption_width()
set_caption(jams, "Pots of jam for sale") # escape caption characters: caption(jams) <- sanitize( "Make $$$ with jam", type = "latex")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.