Aliases: distm
Keywords: spatial
### ** Examples xy <- rbind(c(0,0),c(90,90),c(10,10),c(-120,-45)) distm(xy)
[,1] [,2] [,3] [,4] [1,] 0 10001966 1565109 12317881 [2,] 10001966 0 8896111 14986910 [3,] 1565109 8896111 0 13879039 [4,] 12317881 14986910 13879039 0
xy2 <- rbind(c(0,0),c(10,-10)) distm(xy, xy2)
[,1] [,2] [1,] 0 1565109 [2,] 10001966 11107821 [3,] 1565109 2211710 [4,] 12317881 12129132