| ncol_keys | R Documentation |
returns the number of columns displayed
ncol_keys(x)
x |
a 'flextable' object, see flextable-package to learn how to create 'flextable' object. |
Other functions for flextable size management:
autofit(),
dim.flextable(),
dim_pretty(),
fit_columns(),
fit_to_width(),
flextable_dim(),
height(),
hrule(),
nrow_part(),
set_table_properties(),
width()
library(flextable)
ft <- qflextable(head(cars))
ncol_keys(ft)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.