edyn_colors: get edyn colors

Description Usage Arguments Examples

View source: R/edyn_colors.R

Description

get edyn colors

Usage

1
edyn_colors(n = 8, lightest = 0, inc_bw = F)

Arguments

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

Examples

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) )

mattreed09/edynPlot documentation built on Feb. 13, 2022, 4:09 a.m.