View source: R/scale_discrete_onsv.R
scale_discrete_onsv | R Documentation |
scale_discrete_onsv()
is used to apply the ONSV color scale to a
ggplot graphics
scale_discrete_onsv()
A custom scale object for ggplot objects
library(ggplot2)
ggplot(data = iris, aes(x = Sepal.Width, y = Sepal.Length, color = Species)) +
geom_point() +
theme_onsv() +
scale_discrete_onsv()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.