as.matrix(dist(corrdinates))
On 19/05/2011 18:08, Angelo Moreno wrote:
Hi, I have a list of corrdinates (latitude, longitude), I need to calculate
the distance between each coordinate, and generate a matrix, How could I
try to do it? Thanks.
--
View this message in context:
http://r-sig-geo.2731867.n2.nabble.com/Matrix-of-distances-km-between-Coordinates-tp6382641p6382641.html
Sent from the R-sig-geo mailing list archive at Nabble.com.
_______________________________________________
R-sig-Geo mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-geo
--
_________________________________ Marcelino de la Cruz Rot Departamento
de Biologia Vegetal E.U.T.I. Agricola Universidad Politecnica de Madrid
28040 Madrid Tel: 34913365654 _________________________________
_______________________________________________
R-sig-Geo mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-geo