set.caption: Adds caption in current block
Description
This is a helper function to add a caption to the returning image/table.
Usage
set.caption(x, permanent = FALSE)
Arguments
permanent
(default FALSE
) if caption is permanent (for all future tables) or not