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@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
_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-geo