powered by
distm(x, fun=distCosine)
distCosine, distHaversine, distVincentySphere, distVincentyEllipsoid
distm(rbind(c(0,0),c(90,90),c(10,10),c(-120,-45)))
Run the code above in your browser using DataLab