make_colors: Make colors

Description Usage Arguments

View source: R/make_colors.R

Description

Generate a color palette of length n

Usage

1
make_colors(n = 3, categorical = TRUE, b2g = FALSE, r2g = FALSE)

Arguments

n

How many colors

categorical

Boolean, whether to make a categorical palette (alternative, numeric, assumes ordinality)

b2g

Whether to use a blue to green palette (as opposed to blue to white); only applicable if categorical is FALSE

r2g

Whether to use a red to green palette (as opposed to blue to white); only applicable if categorical is FALSE


databrew/databrew documentation built on Feb. 1, 2020, 2:28 p.m.