[R] ColorRamp different from ColorRampPalette

taw troy.wynn at aggiemail.usu.edu
Fri Mar 26 19:32:22 CET 2010

Try the rgb function in the grDevices library. 

pal.cr<-colorRamp( c("blue", "white", "red"), space = "rgb")

View this message in context: http://n4.nabble.com/ColorRamp-different-from-ColorRampPalette-tp889372p1692642.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list