chmColors-set: Set the colors of an ngchmColormap, ngchmLayer, ngchmBar, or...

chmColors<-R Documentation

Set the colors of an ngchmColormap, ngchmLayer, ngchmBar, or ngchmCovariate.

Description

Set the colors of an ngchmColormap, ngchmLayer, ngchmBar, or ngchmCovariate.

Usage

chmColors(x) <- value

Arguments

x

The NG-CHM object on which to set the colors.

value

A character string vector of colors. The vector length must equal the number of data points in the color map.

Value

The modified NG-CHM object.

See Also

chmColors

Examples

chmColors (layer) <- c("blue", "white", "red")


bmbroom/NGCHMR documentation built on April 18, 2022, 6:52 p.m.