R/plot-construction.R
ggplot_add.Rd
This generic allows you to add your own methods for adding custom objects to a ggplot with +.gg.
ggplot_add(object, plot, object_name)
An object to add to the plot
The ggplot object to add object to
object
The name of the object to add
A modified ggplot object