cb_colors: Vectors of colors for figures

Description Usage Arguments Value Examples

View source: R/cb_colors.R

Description

Creates different vectors of related colors that may be useful for figures.

Usage

1
cb_colors(set = c("web", "cchmc"))

Arguments

set

Character string indicating a set of colors.

Value

Vector of character strings representing the chosen set of colors, in RGB.

Examples

1
2
plot(1:4,rep(1,4),col=cb_colors('cchmc'),pch=19,cex=5)
plot(1:16,rep(1,16),col=cb_colors('web'),pch=19,cex=5)

cole-brokamp/CB documentation built on May 13, 2019, 8:49 p.m.