Description Usage Arguments Examples
Data List
1 2 3 4 5 6 7 | layer_info(p, keep = TRUE, ...)
## Default S3 method:
layer_info(p, keep = TRUE, ...)
## S3 method for class 'ggplot'
layer_info(p, keep = TRUE, ...)
|
p |
plot object |
keep |
boolean vector (size = 1 or length(plot$layers)). Determines if that layer should have cognostics calculated |
... |
parameters passed on to corresponding |
1 2 3 4 | require(ggplot2)
p <- ggplot(iris, aes(Sepal.Length, Sepal.Width)) +
geom_point(data = mpg, mapping = aes(cty, hwy))
layer_info(p)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.