Learn R Programming

flextable (version 0.5.8)

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(), width()

Examples

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


ft <- flextable(iris)
ft <- height_all(ft, height = .3)

# }

Run the code above in your browser using DataLab