Re: [R] How to calculate the linear distance between 2 points

2008-11-17 Thread Jon Loehrke
I have used both the trigonometric identity (a^2 + b^2) = c^2, the haversine and the vincenty equations (http://www.movable-type.co.uk/scripts/latlong.html ), it really depends on how many calculations you need to make, how big of an error you can tolerate, and how far apart your measurements

Re: [R] How to calculate the linear distance between 2 points

2008-11-16 Thread jim holtman
Here are a couple of hits I got from searching the archives. Any of them help: http://finzi.psych.upenn.edu/R/library/spectralGP/html/rdist.earth.html http://finzi.psych.upenn.edu/R/library/RFOC/html/GreatDist.html On Sun, Nov 16, 2008 at 8:40 PM, Ricardo Bandin <[EMAIL PROTECTED]> wrote: > Dee

[R] How to calculate the linear distance between 2 points

2008-11-16 Thread Ricardo Bandin
Deemed colleagues I would appreciate your help with a sentence to calculate the linear distance between 2 geographical points (coordinates in UTM). In advance thnks for your attention, -- Ricardo Bandin Llanos [EMAIL PROTECTED] Estudiante - Magíster Cs. m. Pesquerías Universidad de Concepción,