powered by
mean location for spherical (longitude/latitude) coordinates that deals with the angularity. I.e., the mean of longitudes -179 and 178 is 179.5
geomean(xy, w)
Ccoordinate pair (numeric)
xy <- cbind(x=c(-179,179, 177), y=c(12,14,16)) xy geomean(xy)
Run the code above in your browser using DataLab