Displaying 2 results from an estimated 2 matches for "alldist3".
Did you mean:
alldist
2008 Dec 09
2
Better way to find distances between points in a set?
I was playing around a bit to see how I could find the two points in a
set of points (or ordered pairs) furthest from each other.
Here's what I did:
1) created a Nrow by 2col matrix, so each row contains an x,y coordinate
pair.
2) fed the matrix to a nested mapply (cv is my matrix):
mapply(function(k,l) mapply(function(x,y,a,b)
+
2008 Dec 10
1
subset point data set by distance ranges
Greetings
I'm using R 2.8 with recent (last month) versions of the packages I need to
use at present.
I'm interested in examining hierarchical spatio-temporal patterns in a data
set. The data consist of 94 points (X, Y, UTM coordinates) at which catch
rates for a fish were recorded and there are also estimates of prey
available for these fish at the same locations.