Skip to content
Back to formatted view

Raw Message

Message-ID: <2E7DCEC3-8EFC-4EE6-B2CD-F1F16DED9ACB@csic.es>
Date: 2016-04-25T14:07:48Z
From: Santiago Beguería
Subject: spatialpoints: each dot represents 100 individuals?
In-Reply-To: <4a5bec7d.50852bf5.571e0d10.3994a@mailplus.pl>

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]]