# NOT RUN {
data(co)
v = evgram(Al ~ 1, co, ~ easting + northing)
if (requireNamespace("ggplot2")) {
ggplot2::autoplot(v)
}
v2 = evgram(Al ~ 1, co, ~ easting + northing, angle = 22.5, ndir = 4)
# ggplot2 must manually be loaded for this to work
if (requireNamespace("ggplot2")) {
ggplot2::autoplot(v2)
ggplot2::autoplot(v2, split = TRUE)
}
# }
Run the code above in your browser using DataLab