ss_flextable: Create summary table using flextable package.

View source: R/ssformat.R

ss_flextableR Documentation

Create summary table using flextable package.

Description

This function generate a flextable from a sstable.

Usage

ss_flextable(sstable, ...)

## S3 method for class 'list'
ss_flextable(sstable, add_footer = NULL, ...)

## S3 method for class 'ss_obj'
ss_flextable(sstable, add_footer = NULL, ...)

## Default S3 method:
ss_flextable(sstable, footer = NULL, bg = "#F2EFEE", ...)

Arguments

sstable

a data frame following sstable's grammar

...

additional parameters that will be passed to ss_format if the sstable has yet to be formatted.

add_footer

additional footer lines to be appended to object footers

footer

a character vector each of which is the footnote of the flextable

bg

a character string that defines stripped background color of the flextable

Value

an object of class flextable

See Also

flextable


oucru-biostats/C306 documentation built on July 16, 2024, 2:33 p.m.