Skip to contents

returns the number of lines in a part of flextable.

Usage

nrow_part(x, part = "body")

Arguments

x

flextable object

part

partname of the table (one of 'body', 'header', 'footer')

See also

Examples

library(flextable)
ft <- qflextable(head(cars))
nrow_part(ft, part = "body")
#> [1] 6