powered by
control rows height for a part of the flextable.
height(x, i = NULL, height, part = "body")height_all(x, height, part = "all")
height_all(x, height, part = "all")
flextable object
rows selection
height in inches
partname of the table
height_all is a convenient function for setting the same height to all rows (selected with argument part).
height_all
part
Other flextable dimensions: autofit(), dim.flextable(), dim_pretty(), fit_to_width(), flextable_dim(), hrule(), set_table_properties(), width()
autofit()
dim.flextable()
dim_pretty()
fit_to_width()
flextable_dim()
hrule()
set_table_properties()
width()
# 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