chmColors<- | R Documentation |
Set the colors of an ngchmColormap, ngchmLayer, ngchmBar, or ngchmCovariate.
chmColors(x) <- value
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. |
The modified NG-CHM object.
chmColors
chmColors (layer) <- c("blue", "white", "red")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.