View source: R/plot-construction.R
ggplot_add | R Documentation |
This generic allows you to add your own methods for adding custom objects to a ggplot with +.gg.
ggplot_add(object, plot, object_name)
object |
An object to add to the plot |
plot |
The ggplot object to add |
object_name |
The name of the object to add |
A modified ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.