as.gtable {gtable}R Documentation

Convert to a gtable

Description

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() and grid::grobHeight() of x respectively.

Value

A gtable object

Methods (by class)


[Package gtable version 0.3.6 Index]