grombine: Combine ggplot grobs or plots

View source: R/grombine.R

grombineR Documentation

Combine ggplot grobs or plots

Description

combine ggplot grobs or plots

Usage

grombine(..., by = "x", size = "last", draw = T)

Arguments

...

plots/grobs to combine. A mix of the two is fine.

by

axis to combine plots by. Default: 'x'

size

which plot's dimensions to prioritise. One of 'first' or 'last'. Default: 'last'

draw

logical to return plot instead of grob. Default: T

Value

ggplot plot or grob object, with all objects in ... combined.

See Also

ggplotGrob grid.draw


jlaffy/scalop documentation built on March 24, 2024, 9 a.m.