Search code examples
rcolorsggplot2

R color palettes for many data classes


Are there any good packages for colour palettes in R that can handle many data classes? I have 16 sequential data classes. I tried RColorBrewer but it has a max of 9 data classes, I also tried rainbow() but its not appealing for sequential data. Thanks


Solution

  • Try '?colorRampPalette' and make your own function.