Learn R Programming

gstat (version 0.9-4)

plot.variogram.cloud: 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, xlim, ylim, xlab, ylab, ...)

Arguments

x
object of class variogram.cloud
identify
logical; if TRUE, the plot allows identification of the indexes of point pairs that correspond to individual variogram cloud points
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 is T, 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)

References

http://www.gstat.org/

See Also

plot.point.pairs, variogram.formula, variogram, plot.variogram,

Examples

Run this code
data(meuse)
# no trend:
plot(variogram(log(zinc)~1, loc=~x+y, data=meuse, cloud=TRUE))
# plot(variogram(log(zinc)~1, loc=~x+y, data=meuse, cloud=TRUE, cressie=TRUE))

Run the code above in your browser using DataLab