
returns the number of lines in a part of flextable.
nrow_part(x, part = "body")
flextable object
partname of the table (one of 'body', 'header', 'footer')
Other flextable dimensions:
autofit()
,
dim.flextable()
,
dim_pretty()
,
fit_to_width()
,
flextable_dim()
,
height()
,
hrule()
,
ncol_keys()
,
set_table_properties()
,
width()
library(flextable)
ft <- qflextable(head(cars))
nrow_part(ft, part = "body")
Run the code above in your browser using DataLab