Learn R Programming

gstat (version 0.9-4)

plot.point.pairs: Plot a point pairs, identified from a variogram cloud

Description

Plot a point pairs, identified from a variogram cloud

Usage

plot.point.pairs(x, data, xcol = data$x, ycol = data$y, xlab = "x coordinate", 
ylab = "y coordinate", ...)

Arguments

x
object of class "point.pairs", obtained from the function plot.variogram.cloud, containing point pair indices
data
data frame to which the indices refer (from which the variogram cloud was calculated)
xcol
numeric vector with x-coordinates of data
ycol
numeric vector with y-coordinates of data
xlab
x-axis label
ylab
y-axis label
...
arguments passed to xyplot

Value

  • plots the data locations, with lines connecting the point pairs identified (and refered to by indices in) x

References

http://www.gstat.org

See Also

plot.variogram.cloud

Examples

Run this code
#data(meuse)
#vgm1 <- variogram(log(zinc)~1, ~x+y, meuse, cloud = TRUE)
#pp <- plot(vgm1, id = TRUE)
# identify the point pairs
#plot(pp, data = meuse) # meuse has x and y as coordinates

Run the code above in your browser using DataLab