ggplot_add: Add custom objects to ggplot

Description Usage Arguments Value

View source: R/plot-construction.r

Description

This generic allows you to add your own methods for adding custom objects to a ggplot with +.gg.

Usage

1
ggplot_add(object, plot, object_name)

Arguments

object

An object to add to the plot

plot

The ggplot object to add object to

object_name

The name of the object to add

Value

A modified ggplot object


SahaRahul/ggplot2 documentation built on May 17, 2019, 1:46 p.m.