flextable (version 0.5.6)

dim.flextable: Get widths and heights of flextable

Description

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, width

Examples

Run this code
# NOT RUN {
ft <- flextable(head(iris))
dim(ft)
# }

Run the code above in your browser using DataCamp Workspace