[R] us zipcode data map

Francisco J. Zagmutt gerifalte28 at hotmail.com
Sat Jun 11 01:12:08 CEST 2005


library(maps)
example(match.map) #for coloring

If you want to annotate the map look at ?map.text

I hope this helps

Francisco



>From: Mike R <mike.rstat at gmail.com>
>Reply-To: r-help at stat.math.ethz.ch
>To: r-help at stat.math.ethz.ch
>Subject: [R] us zipcode data map
>Date: Fri, 10 Jun 2005 15:18:26 -0700
>
>i've search the email archives, searched the documention
>of various map packages and done an R-site search, but
>have been unable to find direct resources for creating maps
>of the US that are colored or annotated or ... by zipcode
>data.
>
>For example, create a map of the US and color each zipcode
>region by its population using two vectors z,p containing the
>zipcode and population, respectively.  I'm not looking for data
>to fill z, and p.  I'm looking for some highend functions to
>display on a map the data that I already have.
>
>Cheers,
>Mike
>
>______________________________________________
>R-help at stat.math.ethz.ch mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide! 
>http://www.R-project.org/posting-guide.html




More information about the R-help mailing list