vardiag (version 0.2-1)

interact.varobj: 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:
l
selection of a point in the leave-one-out plot.

m
selection of one or two points in the map view. After selection of one point the selection process can be stopped by a right mouse click.

n
selection of a polygon region in the map view. This can be done by left clicking on the vertices of the polygon and stopping by a right mouse click.

s
selection of a point in the studentized square root cloud.

t
selection of a polygon region in the studentized square root cloud. This can be done by left clicking on the vertices of the polygon and stopping by a right mouse click.

x
selection of all points in the studentized square root cloud outside an approximate confidence bound with significance level given by pchi.

pchi
the significance level of the confidence bounds, if option g="x" is given.
zmv
the value of zmv determines which values will be ploted as third dimension (via circles with radius corresponding to the value) in the map view. The following values are possible:
0
no third dimension,

1
values of the original observations,

2
Cook's distances,

3
reduction in lack of fit.

Value

the index of the selected pair of observations.

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.

References

E. Glatzer, W.G. Mueller, 2004. Residual diagnostics for variogram fitting. Computers and Geosciences 30, pp 859-866.

See Also

PlotDiag.varobj

Examples

Run this code
data(tulln)
PlotDiag.varobj(vs50,region=tu1)

Run the code above in your browser using DataLab