flextable (version 0.5.6)

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

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

Examples

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

# }

Run the code above in your browser using DataLab