powered by
getGradientPaletteFactory(colors = c("black", "white"))
c('black','white')
getDiscretePaletteFactory
colorRampPalette
paletteMaker = getGradientPaletteFactory(c("yellow","red")) myPalette = paletteMaker(10)
Run the code above in your browser using DataLab