[R] Projecting data on a world map using long/lat

Greg Snow Greg.Snow at imail.org
Fri Dec 10 03:45:32 CET 2010


The symbols function can add circles to an existing plot with the diameter based on another variable.  You may need to project points if you draw a map with a projection.

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at imail.org
801.408.8111


> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of mathijsdevaan
> Sent: Thursday, December 09, 2010 7:21 PM
> To: r-help at r-project.org
> Subject: [R] Projecting data on a world map using long/lat
> 
> 
> Hi,
> 
> I have a dataset (CSV) with some counts of firms located around the
> globe.
> Each count is assigned to the longitude and latitude of the specific
> location. Now I want to plot these counts on a world map using dots
> (size of
> dots represent the count). I have been unable to find any info on
> whether
> this is possible and if so, how? Can you please help me? Thanks!
> 
> Mathijs
> --
> View this message in context: http://r.789695.n4.nabble.com/Projecting-
> data-on-a-world-map-using-long-lat-tp3081298p3081298.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> 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.



More information about the R-help mailing list