plot.gtable: Plot 'gtable' Objects

View source: R/helpers.R

plot.gtableR Documentation

Plot gtable Objects

Description

This is needed because crmPack uses gridExtra::arrangeGrob() to combine ggplot2 plots, and the resulting gtable object is not plotted otherwise when implicitly printing it in the console, e.g.

Usage

## S3 method for class 'gtable'
plot(x, ...)

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

Arguments

x

(gtable)
object to plot.

...

additional parameters for grid::grid.draw().


Roche/crmPack documentation built on July 16, 2024, 2:15 a.m.