I'm trying to fit a variogram to my data, however the spatial points are confined by an irregular polygon. So I'd like to supply a variogram model function with the distance matrix of the points.
I've looked through
vardiag but I can't figure out how to specify the distance matrix, as each of these requires the coordinates of the points.
So I'm really just looking for a way to supply these distances to a variogram model fitting function, any help is appreciated!