fontsize() changes the font size (in points) of a selection of cells in a flextable.
Function signature
Parameters
A
flextable object.Row selector. Accepts integer indices, a one-sided formula (e.g.,
~ col > 5), or a logical vector. NULL selects all rows in the specified part.Column selector. Accepts integer indices, column names, a formula, or a logical vector.
NULL selects all columns.Font size in points.
Which part of the table to target:
"body", "header", "footer", or "all".Return value
The modifiedflextable object.