flextable (version 0.5.11)

height: Set flextable rows height

Description

control rows height for a part of the flextable.

Usage

height(x, i = NULL, height, part = "body")

height_all(x, height, part = "all")

Arguments

x

flextable object

i

rows selection

height

height in inches

part

partname of the table

height_all

height_all is a convenient function for setting the same height to all rows (selected with argument part).

See Also

Other flextable dimensions: autofit(), dim.flextable(), dim_pretty(), fit_to_width(), flextable_dim(), hrule(), set_table_properties(), width()

Examples

Run this code
# NOT RUN {
ftab <- flextable(head(iris))
ft <- height(ftab, height = .3)
ftab

ftab <- flextable(head(iris))
ftab <- height_all(ftab, height = .3)
ftab
# }

Run the code above in your browser using DataLab