Skip to contents

returns widths and heights for each table columns and rows. Values are expressed in inches.

Usage

# S3 method for flextable
dim(x)

Arguments

x

flextable object

See also

Other flextable dimensions: autofit(), dim_pretty(), fit_to_width(), flextable_dim(), height(), hrule(), ncol_keys(), nrow_part(), set_table_properties(), width()

Examples

ftab <- flextable(head(iris))
dim(ftab)
#> $widths
#> Sepal.Length  Sepal.Width Petal.Length  Petal.Width      Species 
#>         0.75         0.75         0.75         0.75         0.75 
#> 
#> $heights
#> [1] 0.25 0.25 0.25 0.25 0.25 0.25 0.25
#>