[R] color maps with counts

Jim Lemon jim at bitwrit.com.au
Fri Feb 20 10:46:15 CET 2009


Alina Sheyman wrote:
> I have yet another question concerning maps.
> This time I want to create a colored map of number of students by state.
> Can this be done using palettes in Rcolor brewer, is there some other way?
>
>   
Hi Alina,
color.scale in the plotrix package linearly converts numbers to a series 
of colors. This may be what you want.

Jim




More information about the R-help mailing list