powered by
returns the optimal width and height for the grob, according to the grob generation parameters.
# S3 method for flextableGrob dim(x)
a named list with two elements, width and height. Values are expressed in inches.
width
height
a flextableGrob object
ftab <- flextable(head(iris)) gr <- gen_grob(ftab) dim(gr)
Run the code above in your browser using DataLab