flextable (version 0.5.1)

dim_pretty: Calculate pretty dimensions

Description

return minimum estimated widths and heights for each table columns and rows in inches.

Usage

dim_pretty(x, part = "all")

Arguments

x

flextable object

part

partname of the table (one of 'all', 'body', 'header' or 'footer')

Examples

Run this code
# NOT RUN {
ft <- flextable(mtcars)
# }
# NOT RUN {
dim_pretty(ft)
# }

Run the code above in your browser using DataCamp Workspace