add_geom_at_position | R Documentation |
Adds ggplot2 derived geometry at specified z-level position
add_geom_at_position(p, geom, position = "top")
p |
ggplot2 object, output from |
geom |
ggplot2 derived geometry which should be added to the plot object. |
position |
Position of the geometry layer, either "bottom" or "top". By default lines are added below all other layers in the plot to not obscure them, but by setting position to "top", these lines can also be plotted above other lines. |
Simple wrapper to add arbitrary geometries to nested loop plot.
A ggplot2 object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.