MapToDiscreteColors: map data to discrete color

View source: R/colormap.R

MapToDiscreteColorsR Documentation

map data to discrete color

Description

map data to discrete color

Usage

MapToDiscreteColors(data, cmp = CMPar(), given.cm = NULL)

Arguments

data

numeric vector

cmp

an color map parameter object of class CMPar

given.cm

given color map

Value

an object of ColorMap

Examples

pie(rep(1,6), col=MapToDiscreteColors(c(1:3,10:13))$colors)

zwdzwd/wheatmap documentation built on March 17, 2022, 10:49 p.m.