The ggplot class collects the needed information to render a plot.
This class can be constructed using the ggplot() function.
class_ggplot(
data = waiver(),
...,
layers = list(),
scales = NULL,
guides = NULL,
mapping = aes(),
theme = NULL,
coordinates = coord_cartesian(default = TRUE),
facet = facet_null(),
layout = NULL,
labels = labs(),
meta = list(),
plot_env = parent.frame()
)A property containing any data coerced by fortify().
Reserved for future expansion.
A list of layer instances created by layer().
A ScalesList ggproto object.
A Guides ggproto object created by guides().
A mapping class object created by aes().
A theme class object created by theme().
A Coord ggproto object created by coord_*() family of
functions.
A Facet ggproto object created by facet_*() family of
functions.
A Layout ggproto object.
A labels object created by labs().
A list for additional metadata. This will be deprecated in the future.
An environment.