[R] USA map

Ray Brownrigg ray at mcs.vuw.ac.nz
Mon Nov 3 22:04:30 CET 2003


> > I don't know the usa() function in S but usa() in R gives a map of the US
> 
> Where did you find that function? In rw1080 on windows XP I get:
> 
Some earlier versions of the maps package (which was then available for
"Unix" only), did have individual functions for each country in the
world database.

In the current version, you need to type:
library(maps)
map("usa") 
#or:
map("world2", "USA")

Ray Brownrigg




More information about the R-help mailing list