Defines a nonparametric geostatistical model (not intended to be used regularly; see np.fitgeo). Constructor function of the np.geo and fitgeo S3 classes.

np.geo(lp, svm, svm0 = NULL, nbin = lp$grid$n)

Arguments

lp

local polynomial estimate of the trend function (object of class locpol.bin).

svm

(fitted) variogram model (object of class fitsvar or svarmod).

svm0

(fitted) residual variogram model (object of class fitsvar or svarmod).

nbin

number of bins on each dimension.

Value

Returns an object of class np.geo (extends locpol.bin), the lp argument with the others and the vector of residuals as additional components.

See also