dim.flextableGrob | 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.