Skip to content
Prev 70565 / 398525 Next

images and maps in R

This is is not difficult from the online help for the map() function. 
Here is an example.

map('state', region = c('new york', 'new jersey', 'penn'),fill=TRUE,col=1:4)

There is also an example there in how to add text to the map.

Another way uses the maptools package.

require(maptools)
?plot.Map

and then follow the examples given in the help page for plot.Map().
At 2:42 PM -0700 5/27/05, yyan liu wrote: