check.variogram-deprecated: Plot an Empirical Semi-Variogram of Residuals

Description Usage Arguments Value Examples

Description

check.variogram() has been deprecated: use plot.slmfit() instead. Plots an empirical semi-variogram of the residuals from the spatial linear model with the fitted parametric model as a curve overtop of the binned points. By default, the empirical semi-variogram only shows distances that are less than or equal to the maximum distance in the data set divided by 2. Therefore, it's possible that the REML-fitted model will not "fit" the points perfectly.

Usage

1

Arguments

object

is an object of class slmfit.

Value

a plot of the empirical semi-variogram with the fitted model overlayed.

Examples

1
2
3
4
5
data(exampledataset) ## load a toy data set
slmobj <- slmfit(formula = counts ~ pred1 + pred2, data = exampledataset,
xcoordcol = 'xcoords', ycoordcol = 'ycoords', areacol = 'areavar')
## Not Run
## check.variogram(slmobj)

sptotal documentation built on July 6, 2021, 5:07 p.m.