data(vario)
# Find out the sill (this is more obvious for larger data sets):
plot(vario$variogram$v)
vario.sm <- smoothVariogram(vario, sill = 0.9)
plot(vario$variogram$v)
lines(vario.sm$variogram[,c("h", "v.sm")],
col = "red")
Run the code above in your browser using DataLab