[R-sig-Geo] spatialpoints: each dot represents 100 individuals?

Santiago Beguería santiago.begueria at csic.es
Mon Apr 25 16:07:48 CEST 2016


Hi Kamil,

I just wrote a little post explaining how to do the bin hex map. It’s really easy.

http://santiago.begueria.es/2016/04/mapping-with-ggplot2-hexbin-maps/ <http://santiago.begueria.es/2016/04/mapping-with-ggplot2-hexbin-maps/>

Cheers,

Stg

> El 25 abr 2016, a las 14:26, Kamil Konowalik <konno_kazuma at mailplus.pl> escribió:
> 
> Hi Juta,
> some time ago I came across that approach proposed by Dan Warren on his blog: 
> http://enmtools.blogspot.com/2015/10/handy-little-snippet-of-r-code-for.html
> Maybe this will be useful for you as well? 
> Santiago this figure looks quite nice. Do you have the R code to generate it? I found the description of that function but I will understand it better if I'll have the example and I didn't used ggplot2 for maps so far. 
> Best regards,
> Kamil
> 
> Dnia 25 kwietnia 2016 13:52 Santiago Beguería <santiago.begueria at csic.es> napisał(a):
> 
>> Hi Juta,
>> 
>> Do you need to represent the aggregated data as points necessarily? Otherwise, I have used the stat_hexbin representation from ggplot2 for that very purpose, see for instance:
>> 
>> http://santiago.begueria.es/wordpress/wp-content/uploads/2015/06/Figure_01.png
>> 
>> Cheers,
>> 
>> Stg
>> 
>>> El 25 abr 2016, a las 13:35, Juta Kawalerowicz <juta.kawalerowicz at nuffield.ox.ac.uk> escribió:
>>> 
>>> Hi,
>>> 
>>> I have a dataset with couple of million of points (individuals) and
>>> would like to do some mapping (I have the coordinates of each point)
>>> but given the number of observation I think it may be usuful to plot
>>> dots which represent 100 individuals (of a given group). Does anyone
>>> know a good way to aggregate up spatialpoints? Any suggestions would
>>> be much appreciated!
>>> 
>>> Best wishes,
>>> Juta
>>> 
>>> _______________________________________________
>>> R-sig-Geo mailing list
>>> R-sig-Geo at r-project.org
>>> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>> 
>> _______________________________________________
>> R-sig-Geo mailing list
>> R-sig-Geo at r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
> 
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo


	[[alternative HTML version deleted]]



More information about the R-sig-Geo mailing list