plot.variogram.cloud {gstat}R Documentation

Plot and Identify Data Pairs on Sample Variogram Cloud

Description

Plot a sample variogram cloud, possibly with identification of individual point pairs

Usage

plot.variogram.cloud(x, identify = FALSE, digitize = FALSE, xlim, ylim, xlab, ylab, ...)

Arguments

x object of class variogram.cloud
identify logical; if TRUE, the plot allows identification of a series of individual point pairs that correspond to individual variogram cloud points (use left mouse button to select; right mouse button ends)
digitize logical; if TRUE, select point pairs by digitizing a region with the mouse (left mouse button adds a point, right mouse button ends)
xlim limits of x-axis
ylim limits of y-axis
xlab x axis label
ylab y axis label
... parameters that are passed through to plot.variogram (in case of identify = FALSE) or to plot (in case of identify = TRUE)

Value

if identify or digitize is TRUE, a data frame of class point.pairs with in its rows the point pairs identified, if identify is F, a plot of the variogram cloud (see plot.variogram)

Author(s)

Edzer J. Pebesma

References

http://www.gstat.org/

See Also

variogram.formula, variogram, plot.variogram, plot.point.pairs, identify, locator

Examples

data(meuse)
# no trend:
plot(variogram(log(zinc)~1, loc=~x+y, data=meuse, cloud=TRUE))
## commands that require interaction:
# x <- variogram(log(zinc)~1, loc=~x+y, data=meuse, cloud=TRUE)
# plot(plot(x, idendify = TRUE), meuse)
# plot(plot(x, digitize = TRUE), meuse)

[Package Contents]