[R] state map question

2007-08-23 Thread Smith, Phil (CDC/CCID/NCIRD)
Hi R-Help: I want to produce a map of the US with different colors for selected states. I installed the map package, and then used: library(maps) I can see that by using map( 'state' ) you get the state boundaries, also. How do I fill in different colors for the different states? I see

Re: [R] state map question

2007-08-23 Thread Henrique Dallazuanna
map('state', col=terrain.colors(50), fill=T) -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O On 23/08/07, Smith, Phil (CDC/CCID/NCIRD) [EMAIL PROTECTED] wrote: Hi R-Help: I want to produce a map of the US with different colors for selected states. I installed the