
Last chance! 50% off unlimited learning
Sale ends in
control columns width
width(x, j = NULL, width, unit = "in")
flextable object
columns selection
width in inches
unit for width, one of "in", "cm", "mm".
Heights are not used when flextable is been rendered into HTML.
Other flextable dimensions:
autofit()
,
dim.flextable()
,
dim_pretty()
,
fit_to_width()
,
flextable_dim()
,
height()
,
hrule()
,
ncol_keys()
,
nrow_part()
,
set_table_properties()
# NOT RUN {
ft <- flextable(head(iris))
ft <- width(ft, width = 1.5)
ft
# }
Run the code above in your browser using DataLab