Learn R Programming

radiant.data (version 0.8.1)

print.gtable: Print/draw method for grobs produced by gridExtra

Description

Print/draw method for grobs produced by gridExtra

Usage

# S3 method for gtable
print(x, ...)

Arguments

x

a gtable object

...

further arguments passed to or from other methods

Value

A plot

Details

Print method for ggplot grobs created using grid.arrange. Code is based on https://github.com/baptiste/gridextra/blob/master/inst/testing/shiny.R