What is a flextable and how does it work?
mainA flextable object is a data.frame representation that provides an API for controlling formatting properties and layout. It is designed for creating tables for reporting and publications.
Key features include:
- Multi-line headers: Support for complex header structures.
- Cell customization: Ability to merge cells or include images within cells.
- Versatile output: Tables can be embedded in HTML, PDF, Word, PowerPoint, RTF, or exported as images (png, svg). They can also be used in
patchworklayouts withggplot2plots.