Add a grob to a gtable at a specified position (top, bottom, left, or right).
add_grob(
gtable,
grob,
position = c("top", "bottom", "left", "right", "none"),
space = NULL,
clip = "on"
)A gtable object with the grob added.
A gtable object.
A grob or gtable object to add.
The position to add the grob.
One of "top", "bottom", "left", "right", or "none".
The space to allocate for the grob.
If NULL, will be calculated automatically.
The clipping mode.
Default is "on".