CustomColors {HYPEtools}R Documentation

Custom color ramp palettes

Description

Pre-defined color ramp palettes which are used in other HYPEtools functions.

Usage

ColNitr(n)

ColPhos(n)

ColPrec(n)

ColTemp(n)

ColQ(n)

ColDiffTemp(n)

ColDiffGeneric(n)

ColBlues(n)

ColReds(n)

ColGreens(n)

ColYOB(n)

ColPurples(n)

Arguments

n

Integer, number of colors to generate.

Details

These functions build on calls to colorRampPalette.

Value

All functions return vectors of length n with interpolated RGB color values in hexadecimal notation (see rgb).

Examples

ColNitr(10)
ColGreens(6)
barplot(rep(1, 11), col = ColTemp(11))


[Package HYPEtools version 1.6.2 Index]