Produces diagnostic plots for a variogram object.
PlotDiag.varobj(v, region = NULL, xyi = 0, zmv = 0)No value is returned. The function is called for its side effects, i.e. creating plots.
A variogram object
a n by 2 matrix of vertices of a polygon, which represents the region of interest.
the index of the pair of observations, which shall be marked in the plots.
the value of zmv= determines which values will be
plotted 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
Four plots are created on the current graphics device.
These plots are a map
view, a square root cloud with the fitted model, a leave-one-out plot and a plot of decorrelated residuals.
If the argument region is given, this region is plotted as a polygon in the map view. If the argument
xyi is given, the corresponding pair of observations is marked as a blue and a red point in the map view and
connected by a magenta line. Furthermore all the points in the square root cloud, which contain the first (second)
observation in the pair are marked blue (red). The one point that contains both observations of the selected pair
is marked magenta. The points in the leave-one-out plot are marked analogously.
E. Glatzer, W.G. Mueller, 2004. Residual diagnostics for variogram fitting. Computers and Geosciences 30, pp 859-866.
interact.varobj
data(tulln)
PlotDiag.varobj(vs50,region=tu1)
PlotDiag.varobj(vs50,region=tu1,xyi=144)
Run the code above in your browser using DataLab