dim.flextableGrob {flextable} | R Documentation |
returns the optimal width and height for the grob, according to the grob generation parameters.
## S3 method for class 'flextableGrob'
dim(x)
x |
a flextableGrob object |
a named list with two elements, width
and height
.
Values are expressed in inches.
ftab <- flextable(head(iris))
gr <- gen_grob(ftab)
dim(gr)