combine ggplot grobs or plots

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.