Description Usage Arguments Examples
get edyn colors
1 | edyn_colors(n = 8, lightest = 0, inc_bw = F)
|
n |
total number of colors to return |
lightest |
starting value of lightness - defaults to zero to use default colors first |
inc_bw |
should the returned colors include black and white |
1 2 3 4 | ggplot2::ggplot(mtcars, ggplot2::aes(disp, hp, color = as.factor(carb) )) +
ggplot2::geom_point(size = 4) +
edyn_theme() +
ggplot2::scale_color_manual(values = edyn_colors(6, 0.1) )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.