[R-sig-Geo] Function for subsampling spatial data

Paul Hiemstra p.hiemstra at geo.uu.nl
Tue Aug 24 15:13:37 CEST 2010


Hi Anna,

Take a look at spDists from the sp-package. After that you probably need 
to classify the resulting distances into a few classes, comparable to 
the bins for a sample variogram.

cheers,
Paul

On 08/24/2010 03:00 PM, Songhurst, Anna wrote:
> Hi,
>
>
>
> I am looking for a function that subsamples spatial data such that points are beyond a specific distance apart (i.e. all points 1km away from each other; all points 3km away from each other etc.). Does anybody know if such a function already exists and if so where I might find it?
>
> Thank you!
>
> Anna Songhurst
>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>    


-- 
Drs. Paul Hiemstra
Department of Physical Geography
Faculty of Geosciences
University of Utrecht
Heidelberglaan 2
P.O. Box 80.115
3508 TC Utrecht
Phone:  +3130 253 5773
http://intamap.geo.uu.nl/~paul
http://nl.linkedin.com/pub/paul-hiemstra/20/30b/770



More information about the R-sig-Geo mailing list