[R] how to plot the data in a map?

Michael Sumner
Tue, 03 Jul 2012 03:14:20 -0000

Try the Spatial Task View on CRAN for an overview, and the R-Sig-Geo
mailing list for this topic.

What region do you have map data for, or do you also need to obtain
that?  There is the maps package with global coastlines in longitude /
latitude, but it's probably best if you work with wrld_simpl in the
maptools package with its more up to date sp format.

There are many resources to be found online also, such as these:

http://www.nceas.ucsb.edu/scicomp/usecases/CreateMapsWithRGraphics

http://spatialanalysis.co.uk/r/

Cheers, Mike.

On Tue, Jul 3, 2012 at 1:01 PM, Jie Tang <totangjie at gmail.com>
wrote:
> hi R-users:
>   I have some data related with geographical information.
>    I wonder how to plot some data  (in contour,shaded or scatter) on a map.
>   Could anyone tell me which package or reference or examples  I can learn
>  ?
>  thank you .
>
> --
> TANG Jie
> Email: totangjie at gmail.com
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



--
Michael Sumner
Hobart, Australia
e-mail: mdsumner at gmail.com