brewer.master: brewer.master

brewer.masterR Documentation

brewer.master

Description

Makes a lot of brewer colors using an "inexhaustible" brewer palette ie will not complain if number of colors requested is too high.

Yes - this technically violates the "grammar of graphics", but meant for quick and dirty use.

Usage

brewer.master(n, palette = NULL, wes = FALSE, list = FALSE)

Arguments

n

TODO

palette

character specifyign pallette to start with (options are: Blues, BuGn, BuPu, GnBu, Greens Greys, Oranges, OrRd, PuBu, PuBuGn, PuRd, Purples, RdPu, Reds, YlFn, YlFnBu, YlOrBr, YlOrRd, BrBg, PiYG, PRGn, PuOr, RdBu, RdGy, RdYlBu, RdYlGn, Spectral, Accent, Dark2, Paired, Pastel1, Pastel2, Set2, Set3)

Value

length(n) character vector of colors

Author(s)

Marcin Imielinski


mskilab/skitools documentation built on Aug. 31, 2023, 1:13 p.m.