[R] calculating distance between latitude and longitude

David L Carlson dcarlson at tamu.edu
Fri Jan 27 21:45:12 CET 2012


Look at distm() in package geosphere or geoDist() in package SoDA.


----------------------------------------------
David L Carlson
Associate Professor of Anthropology
Texas A&M University
College Station, TX 77843-4352



-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On
Behalf Of uday
Sent: Friday, January 27, 2012 6:41 AM
To: r-help at r-project.org
Subject: [R] calculating distance between latitude and longitude

I have some satellite data which contains latitude and longitude information
.

>From this data I would like to calculate distance between first location
(scalar latitude and longitude) and all other (vectors latitude and
longitude) 

How I should solve this problem ?






--
View this message in context:
http://r.789695.n4.nabble.com/calculating-distance-between-latitude-and-long
itude-tp4333332p4333332.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list