returns the number of columns displayed
See also
Other flextable dimensions:
autofit()
,
dim.flextable()
,
dim_pretty()
,
fit_to_width()
,
flextable_dim()
,
height()
,
hrule()
,
nrow_part()
,
set_table_properties()
,
width()
Examples
library(flextable)
ft <- qflextable(head(cars))
ncol_keys(ft)
#> [1] 2