facet_unwrap | R Documentation |
facet_unwrap(g, plot = TRUE, save = FALSE, path = ".", ...)
g |
the ggplot2 object created as normal |
plot |
whether to plot (or just save by turn the next args to TRUE) |
save |
whether to save the plot to disk |
path |
where to save them? |
... |
Arguments passed on to
|
invisible a list of ggplot objects, one for each panels
## Not run:
g <- iris %>%
ggplot(aes(Sepal.Length)) +
geom_histogram() +
facet_wrap(~Species)
facet_unwrap(g)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.