autoplot.evgram: Plot 'evgram' object

Description Usage Arguments Author(s) Examples

View source: R/evgram-autoplot.R

Description

Plot an evgram object produced by the evgram function. The plotting function internally calls the autoplot function. Note: the ggplot2 package must be loaded (i.e., library(autplot) or ggplot2::autoplot must be specifically called for this function to work. See Examples.

Usage

1

Arguments

object

An evgram object produced by the evgram function.

...

Not used

split

A logical value indicating whether, for a directional semivariogram, the directional semivariograms should be displayed in a single or split panels. Default is FALSE, for a single panel.

Author(s)

Joshua French

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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)
}

gear documentation built on April 14, 2020, 5:12 p.m.

Related to autoplot.evgram in gear...