R: Adjusts cell widths and heights

autofit {flextable} | R Documentation

## Adjusts cell widths and heights

### Description

compute and apply optimized widths and heights.

### Usage

    autofit(x, add_w = 0.1, add_h = 0.1)

### Arguments

`x` | flextable object
`add_w` | extra width to add in inches
`add_h` | extra height to add in inches

### Examples

    ft <- flextable(mtcars)
    ft <- autofit(ft)
    ft

[Package flextable version 0.4.5 Index]