Re: [R] colorRamp

From: hadley wickham <h.wickham_at_gmail.com>
Date: Tue 05 Sep 2006 - 13:18:37 GMT

> I am using colorRamp in the following way. I am *sure* there is a
> better way to do this, so if you'd be so kind to show me the true R way:
>

Another possibility is to use map_colour_gradient from ggplot, which takes care of most of that for you (although it doesn't use colorRamp, that could be easily fixed)

Hadley



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Wed Sep 06 00:39:23 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 07 Sep 2006 - 07:51:18 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.