to_flextable: Convert content into a 'flextable'

View source: R/utils.R

to_flextableR Documentation

Convert content into a flextable

Description

Converts supported table formats into a flextable for enhanced formatting and presentation.

Usage

to_flextable(content)

Arguments

content

Supported formats: data.frame, rtables, TableTree, ElementaryTable, listing_df

Details

Function merges cells with colspan > 1, aligns columns to the center and row names to the left, indents the row names by 10 times indentation.

Value

flextable.


teal.reporter documentation built on April 3, 2025, 7:39 p.m.