Description Usage Arguments Value Author(s) References See Also Examples
Plot a point pairs, identified from a variogram cloud
1 2 3 |
x |
object of class "pointPairs", obtained from the function plot.variogramCloud, 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 |
col.line |
color for lines connecting points |
line.pch |
if non-zero, symbols are also plotted at the middle of
line segments, to mark lines too short to be visible on the plot;
the color used is |
main |
title of plot |
... |
arguments, further passed to |
plots the data locations, with lines connecting the point pairs identified (and refered to by indices in) x
Edzer Pebesma
plot.variogramCloud
1 2 3 4 5 6 7 | ### The following requires interaction, and is therefore outcommented
#data(meuse)
#coordinates(meuse) = ~x+y
#vgm1 <- variogram(log(zinc)~1, meuse, cloud = TRUE)
#pp <- plot(vgm1, id = TRUE)
### Identify the point pairs
#plot(pp, data = meuse) # meuse has x and y as coordinates
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.