Learn R Programming

teal.reporter (version 0.4.0)

to_flextable: Convert content into a flextable

Description

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

Usage

to_flextable(content)

Value

flextable.

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.