interact.varobj {vardiag} | R Documentation |
Interactive Identification of Points in a Variogram Diagnostics Plot
Description
Initiates selection of points in a Variogram Diagnostics Plot.
Usage
interact.varobj(v, region = NULL, g = "s", pchi = 0.05, zmv = 0)
Arguments
v |
A variogram object |
region |
a n by 2 matrix of vertices of a polygon, which represents the region of interest. |
g |
the type of interaction with the following options:
|
pchi |
the significance level of the confidence bounds, if option
|
zmv |
the value of
|
Details
Before the call of this function a diagnostic plot must be
created by a call to the function PlotDiag.varobj
.
If one point in the map view is selected, this point is marked blue and the index of this observation is printed near the point. All corresponding points in the square root cloud and the leave-one-out plot are marked blue.
If two points in the map view (or one point in the square root cloud or in the leave-one-out plot) are selected, this pair of points is joined by a magenta line and the corresponding point in the square root cloud is marked magenta. One of the selected points in the map view and all corresponding points in the square root cloud and the leave-one-out plot are marked blue. The other selected point in the map view and all corresponding points in the square root cloud and the leave-one-out plot are marked red.
If a region is selected in the map view, all possible pairs of points within the region are joined by magenta lines and for each pair the corresponding point in the square root cloud is marked magenta.
If a region in the square root cloud is selected, all points within that region are marked magenta and all corresponding pairs of points in the map view are joined by magenta lines.
If option g="x"
is selected, all points in the square root
cloud outside the chosen confidence bound are marked magenta and
all corresponding pairs of points in the map view are joined by
magenta lines.
Value
the index of the selected pair of observations.
Author(s)
Ernst Glatzer
References
E. Glatzer, W.G. Mueller, 2004. Residual diagnostics for variogram fitting. Computers and Geosciences 30, pp 859-866.
See Also
Examples
data(tulln)
PlotDiag.varobj(vs50,region=tu1)