powered by
map data to discrete color
MapToDiscreteColors(data, cmp = CMPar(), given.cm = NULL)
numeric vector
an color map parameter object of class CMPar
given color map
an object of ColorMap
# NOT RUN { pie(rep(1,6), col=MapToDiscreteColors(c(1:3,10:13))$colors) # }
Run the code above in your browser using DataLab