class_ggplot | R Documentation |
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()
)
data |
A property containing any data coerced by |
layers |
A list of layer instances created by |
scales |
A ScalesList ggproto object. |
guides |
A Guides ggproto object created by |
mapping |
A mapping class object created by |
theme |
A theme class object created by |
coordinates |
A Coord ggproto object created by |
facet |
A Facet ggproto object created by |
layout |
A Layout ggproto object. |
labels |
A labels object created by |
meta |
A list for additional metadata. This will be deprecated in the future. |
plot_env |
An environment. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.