Set the table caption
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")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.