layer_info {autocogs} | R Documentation |
Data List
Description
Data List
Usage
layer_info(p, keep = TRUE, ...)
## Default S3 method:
layer_info(p, keep = TRUE, ...)
## S3 method for class 'ggplot'
layer_info(p, keep = TRUE, ...)
Arguments
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 |
Examples
require(ggplot2)
p <- ggplot(iris, aes(Sepal.Length, Sepal.Width)) +
geom_point(data = mpg, mapping = aes(cty, hwy))
layer_info(p)
[Package autocogs version 0.1.4 Index]