scale_discrete_onsv {onsvplot} | R Documentation |
Apply ONSV color scale to ggplot object
Description
scale_discrete_onsv()
is used to apply the ONSV color scale to a
ggplot graphics
Usage
scale_discrete_onsv()
Value
A custom scale object for ggplot objects
Examples
library(ggplot2)
ggplot(data = iris, aes(x = Sepal.Width, y = Sepal.Length, color = Species)) +
geom_point() +
theme_onsv() +
scale_discrete_onsv()
[Package onsvplot version 0.3.2 Index]