[R-sig-Geo] Matrix of distances (km) between Coordinates

Marcelino de la Cruz marcelino.delacruz at upm.es
Thu May 19 18:28:27 CEST 2011


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
> R-sig-Geo at r-project.org
> 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 _________________________________



More information about the R-sig-Geo mailing list