scale_color_dMod: Standard dMod color palette

Description Usage Arguments Examples

View source: R/plots.R

Description

Standard dMod color palette

Usage

1

Arguments

...

arguments goint to codescale_color_manual()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
library(ggplot2)
times <- seq(0, 2*pi, 0.1)
values <- sin(times)
data <- data.frame(
   time = times, 
   value = c(values, 1.2*values, 1.4*values, 1.6*values), 
   group = rep(c("C1", "C2", "C3", "C4"), each = length(times))
)
qplot(time, value, data = data, color = group, geom = "line") + 
   theme_dMod() + scale_color_dMod()

dMod documentation built on Jan. 27, 2021, 1:07 a.m.