Usage
fit.variogram.gls(formula, data, model, maxiter = 30,
eps = .01, trace = TRUE, ignoreInitial = TRUE, cutoff = Inf,
plot = FALSE)
Arguments
formula
formula defining the response vector and (possible)
regressors; in case of absence of regressors, use e.g. z~1
data
object of class Spatial
model
variogram model to be fitted, output of vgm
maxiter
maximum number of iterations
trace
logical; if TRUE, prints parameter trace
ignoreInitial
logical;
if FALSE, initial parameter are taken from model;
if TRUE, initial values of model are
ignored and taken from variogram cloud:
nugget: mean(y)/2
, sill: mean(y)/2
, range median(h0)/4
with y
th
cutoff
maximum distance up to which point pairs are taken into
consideration
plot
logical; if TRUE, a plot is returned with variogram cloud and
fitted model; else, the fitted model is returned.