Convert to a gtable
Usage
as.gtable(x, ...)
# S3 method for class 'grob'
as.gtable(x, widths = NULL, heights = NULL, ...)
Arguments
- x
An object to convert.
- ...
Arguments forwarded to methods.
- widths, heights
Scalar unit setting the size of the table. Defaults to
grid::grobWidth()
andgrid::grobHeight()
ofx
respectively.