# NOT RUN {
data(co)
# omnidirectional example
v = evgram(Al ~ 1, co, ~ easting + northing)
plot(v)
plot(v, main = "semivariogram of Al")
# directional semivariograms overlaid
v2 = evgram(Al ~ 1, co, ~ easting + northing,
angle = 22.5, ndir = 4)
plot(v2)
plot(v2, ylab = "semi-variance", pch = 2:5, type = "p")
plot(v2, lty = 2:5, type = "l",
args_legend = list(x = "bottomright",
legend = c("22.5", "67.5", "112.5", "157.5")))
# directional semivariograms split
plot(v2, split = TRUE)
plot(v2, split = TRUE, col = 2, pch = 3, type = "b",
main = c("(a)", "(b)", "(c)", "(d)"))
# }
Run the code above in your browser using DataLab