ncol_keys: Number of columns

View source: R/nrowcol.R

ncol_keysR Documentation

Number of columns

Description

returns the number of columns displayed

Usage

ncol_keys(x)

Arguments

x

a 'flextable' object, see flextable-package to learn how to create 'flextable' object.

See Also

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()

Examples

library(flextable)
ft <- qflextable(head(cars))
ncol_keys(ft)

flextable documentation built on July 7, 2026, 5:06 p.m.