Initiates selection of points in a Variogram Diagnostics Plot.
interact.varobj(v, region = NULL, g = "s", pchi = 0.05, zmv = 0)the index of the selected pair of observations.
A variogram object
a n by 2 matrix of vertices of a polygon, which represents the region of interest.
the type of interaction with the following options:
selection of a point in the leave-one-out plot.
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.
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.
selection of a point in the studentized square root cloud.
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.
selection of all points in the studentized square root
cloud outside an approximate confidence bound with significance level given by pchi.
the significance level of the confidence bounds, if option
g="x" is given.
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:
no third dimension,
values of the original observations,
Cook's distances,
reduction in lack of fit.
Ernst Glatzer
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.
E. Glatzer, W.G. Mueller, 2004. Residual diagnostics for variogram fitting. Computers and Geosciences 30, pp 859-866.
PlotDiag.varobj
data(tulln)
PlotDiag.varobj(vs50,region=tu1)
Run the code above in your browser using DataLab