acid_geom_bar | R Documentation |
Modified version of ggplot2::geom_bar()
.
acid_geom_bar(..., color = NA, stat = "identity")
... |
Additional arguments, passed to |
color |
|
stat |
|
Convenience function that sets stat = "identity"
automatically and disables
the border around the bars.
Layer
/ggproto
.
Updated 2021-06-29.
data <- data.frame(
x = c("a", "b", "c", "d"),
y = c(5L, 10L, 15L, 20L)
)
p <- ggplot(data = data, mapping = aes(x = .data[["x"]], y = .data[["y"]]))
p + acid_geom_bar(fill = "black")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.