View source: R/geom_text_prop_within_x.R
geom_text_prop_within_x | R Documentation |
Title
geom_text_prop_within_x( mapping = NULL, data = NULL, position = "identity", na.rm = FALSE, show.legend = NA, inherit.aes = TRUE, ... )
... |
library(ggplot2) ggplot(data = mtcars) + aes(x = cyl, y = gear) + geom_tile_prop_within_x() + aes(fill = 1) + geom_text_prop_within_x(color = "oldlace")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.