Plots sample (empirical) covariogram computed using the
function covariog.
Usage
# S3 method for covariogram
plot(x, max.dist = max(x$u), ylim = "default", type = "b",
envelope.obj = NULL, …)
Arguments
x
an object of the class "covariogram", typically an
output of the function covariog.
max.dist
maximum distance for the x-axis. The default is
the maximum distance for which the sample covariogram was computed.
ylim
limits for the covariogram values in the y-axis. The default
is from the minimum to the maximum value in x$v.
type
type of line for the empirical covariogram. The default is
"b" (dots and lines). For further details see documentation
for lines.
envelope.obj
adds a covariogram envelope computed by
the function covariog.model.env.
…
other arguments to be passed to the function
plot.
Value
Produces a plot with the sample covariogram on the current graphics
device.
No values are returned.
Details
This function allows visualisation of the empirical covariogram.
Together with lines.covariomodel it can be used
to compare theoretical covariogram models against the
empirical covariogram.
See Also
covariog for covariogram calculations, lines.covariomodel for
adding lines to the current plot,
covariog.model.env for computation of covariogram envelopes,
and plot for generic plot function.