View source: R/flextable_tools.R
set_widths | R Documentation |
Sets widths of columns in a 'flextable' object.
set_widths(x, widths, unit = c("cm", "mm", "in"))
x |
a 'flextable' object. |
widths |
a numeric vector with widths of the columns, begining from the first one. |
unit |
unit of width, one of 'cm' (default), 'mm' or 'in'. |
a 'flextable' class object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.