qflextable() is a shortcut for producing a ready-to-use flextable with a fixed table layout and automatically fitted column widths. It is equivalent to calling flextable(), set_table_properties(layout = "fixed"), and autofit() in sequence.
Use qflextable() when you want a sensible default table for quick reporting without manual sizing.
Function signature
Parameters
A data frame. Passed directly to
flextable().Return value
An object of classflextable with a fixed table layout and column widths adjusted to fit their content.
Example
See also
flextable()— full constructor with all optionsas_flextable()— convert other objects to flextableautofit()— adjust column widths to fit contentset_table_properties()— control table layout