This function creates a titles attribute, which can be used to define titles by attaching as an attribute to a data frame. This function is used internally to the system.
ttl(
titles,
align = "center",
blank_row = "below",
borders = NULL,
width = NULL,
bold = FALSE,
font_size = NULL
)
A vector of title strings.
The position to align the titles. Valid values are 'left', 'right', 'center' or 'centre'. For titles, the default is 'center'.
Where to place a blank row. Valid values are 'above', 'below', 'both', or 'none'. Default is "below".
Whether and where to place a border. Valid values are 'top', 'bottom', 'left', 'right', 'outside', 'inside', 'all', or 'none'. Default is "none".
The width of the titles block.
A parameter to bold the titles. Valid values are TRUE and FALSE. Default is FALSE.
The font size to use for the title block. The font size of the report will be used by default. Valid values are 8, 9, 10, 11, 12, 13, and 14.
A title attribute object.