I am trying to use the distVincentyEllipsoid function in the geosphere package in R to calculate the distance between different points in my data frame, following the exampl
I was just having the same issue. Check to see if you input the data as c(LONG, LAT). I had made the mistake of using the more common format of c(LAT, LONG).