returns the number of lines in a part of flextable.
Arguments
- x
a 'flextable' object, see flextable-package to learn how to create 'flextable' object.
- part
part selector, see section Part selection with the
partparameter in <Selectors in flextable>. Value 'all' can be used.
See also
Other functions for flextable size management:
autofit(),
dim.flextable(),
dim_pretty(),
fit_to_width(),
flextable_dim(),
height(),
hrule(),
ncol_keys(),
width()
Examples
library(flextable)
ft <- qflextable(head(cars))
nrow_part(ft, part = "body")
#> [1] 6
