envplot {variosig} | R Documentation |
Plot Empirical Variogram and its Pointwise Envelope
Description
Plot empirical variogram and its pointwise variogram envelope.
Usage
envplot(envlist, shade = TRUE, shade.color = "lightgrey",
show.variance = FALSE, xlim = NULL, ylim = NULL,
main = NULL, xlab = "Distance", ylab = "Semivariance")
Arguments
envlist |
output from |
shade |
logical. If |
shade.color |
string. Color of the envelope if it is shaded. |
show.variance |
logical. Plot horizontal lines showing the sample variance and its confidence interval of residuals ignoring spatial information. |
xlim , ylim |
x-axis and y-axis range. If |
main |
string. Title of the plot. |
xlab , ylab |
string. Labels for x- and y-axis. |
Value
Nothing is returned, generates a plot.
Author(s)
Craig Wang
See Also
envelope
to use Monte Carlo permutations for generating variogram envelope.
Examples
## Not run:
library(sp)
data(meuse)
coordinates(meuse) = ~x+y
vario0 <- gstat::variogram(log(zinc)~1, meuse)
varioEnv <- envelope(vario0, data = meuse, formula = log(zinc)~1, nsim = 499)
envplot(varioEnv)
## End(Not run)
[Package variosig version 0.3-1 Index]