All measurements are in centimetres.') # 'Table 1: Edgar Anderson's iris data. Now you can create your first caption: table_nums( name = 'iris', caption = 'Edgar Anderson's iris data.
The display options are:įull or f (default): Display the caption with prefix and numberĬite or c: Display the prefix and number only The function, table_nums takes 4 arguments: a key word to describe your table ( name), a caption ( caption), a character string (or logical) to set the display mode ( display), and a logical ( level) related to hierarchical numbering (discussed below). Table_nums <- captioner( prefix = 'Table') The default prefix is “Figure”, but you can use anything you want. When you create your function, you can also designate a prefix that will go before the figure number (e.g.