Learn R Programming

Tmisc (version 1.0.1)

Tcols: A palette of 17 diverging colors

Description

17 diverging colors created by combining the Set1 and Dark2 palettes from RColorBrewer.

Usage

Tcols

Arguments

Format

Vector of 17 diverging colors.

Examples

Run this code
if (FALSE) {
 barplot(rep(1, 17), col=Tcols, axes=F, names=c(rep("Set1", 9), rep("Dark2", 8)), horiz=TRUE, las=2)
}

Run the code above in your browser using DataLab