Arguments
formula
formula defining the response vector and (possible)
regressors; in case of absence of regressors, use e.g. z~1
locations
spatial data locations; a formula with the
coordinate variables in the right hand (dependent variable) side.
data
data frame where the names in formula and locations
are to be found
model
variogram model to be fitted, output of vgm
debug.level
debug level; set to 65 to see the iteration trace and
log likelyhood
set
additional options that can be set; use set=list(iter=100)
to set the max. number of iterations to 100.
degree
order of trend surface in the location, between 0 and 3