scale_fill_randmcnally | R Documentation |
ggplot2
Rand-McNally and National Geographic Color Scales for ggplot2
scale_fill_randmcnally(...)
scale_color_randmcnally(...)
scale_colour_randmcnally(...)
scale_fill_natgeo(...)
scale_color_natgeo(...)
scale_colour_natgeo(...)
... |
Arguments passed on to |
ggplot scale function
library(ggplot2)
data(oregon)
ggplot(oregon, aes(group = county)) +
geom_district() +
scale_fill_randmcnally() +
theme_map()
ggplot(oregon, aes(group = county)) +
geom_district() +
scale_fill_natgeo() +
theme_map()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.