make_colors: Make colors

Description Usage Arguments

Description

Generate a color palette of length n

Usage

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

Arguments

n

How many colors

bw

Boolean, whether to make black and white

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/sfi documentation built on May 29, 2019, 1:52 a.m.