Last chance! 50% off unlimited learning
Sale ends in
distaz(olat, olon, tlat, tlon)
london = c(51.53333, -0.08333333)
santiago = c(-33.46667, -70.75)
distaz(london[2], london[1], santiago[2], santiago[1])
Run the code above in your browser using DataLab