powered by
returns the number of lines in a part of flextable.
nrow_part(x, part = "body")
a 'flextable' object, see flextable-package to learn how to create 'flextable' object.
part selector, see section Part selection with the part parameter in <Selectors in flextable>. Value 'all' can be used.
part
Selectors in flextable
Other functions for flextable size management: autofit(), dim.flextable(), dim_pretty(), fit_to_width(), flextable_dim(), height(), hrule(), ncol_keys(), width()
autofit()
dim.flextable()
dim_pretty()
fit_to_width()
flextable_dim()
height()
hrule()
ncol_keys()
width()
library(flextable) ft <- qflextable(head(cars)) nrow_part(ft, part = "body")
Run the code above in your browser using DataLab