flextable (version 0.5.11)

width: Set flextable columns width

Description

control columns width

Usage

width(x, j = NULL, width)

Arguments

x

flextable object

j

columns selection

width

width in inches

Illustrations

Details

Heights are not used when flextable is been rendered into HTML.

See Also

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

Examples

Run this code
# NOT RUN {
ft <- flextable(head(iris))
ft <- width(ft, width = 1.5)
ft
# }

Run the code above in your browser using DataLab