I have data with associated longitudes and latitudes. How to get a semivariogram for this data based on large distances between points?
This simple example contains all the data at the equator:
require(geoR)
long <- seq(-179, 180)
x <- sin(pi * long / 180) + rnorm(length(long))
V <- variog(data=x, coords=cbind(long, 0))
plot(V)
The first and last points are actually only divided by 1 degree, but my naive attempt leads me to variogthink that they are divided by 359 degrees.
source
share