[R] heatmap and colour key

Stephen J. Barr stephenjbarr at gmail.com
Thu Mar 12 06:44:17 CET 2009


Check out http://cran.r-project.org/web/packages/RColorBrewer/index.html

On Wed, Mar 11, 2009 at 10:41 PM, Daren Tan <darentan76 at gmail.com> wrote:
> I would like to visualize my data via heatmap so that the value range
> c(-2,2) corresponds to greenred(75). However, heatmap uses the min and
> max from my dataset instead. How to solve this ?
>
> ______________________________________________
> R-help at r-project.org 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.
>



-- 
==========================================
Stephen J. Barr
University of Washington
Dept. of Applied and Computational Math Sciences
Dept. of Economics
WEB: www.econsteve.com




More information about the R-help mailing list