Skip to contents

returns the number of columns displayed

Usage

ncol_keys(x)

Arguments

x

flextable object

See also

Other functions for flextable size management: autofit(), dim.flextable(), dim_pretty(), fit_to_width(), flextable_dim(), height(), hrule(), nrow_part(), width()

Examples

library(flextable)
ft <- qflextable(head(cars))
ncol_keys(ft)
#> [1] 2