Nice cross-tabulated flextable How to create a nice cross-tabulated flextable from aggregations. This example demonstrate how to use function tabulator(). as_flextable tabulator settings
Define how the text is displayed Demonstration of formatting capabilities for cell content of various types such as numeric columns, dates, strings. cell-content settings