Usage
"test.gstatModel"(observations, formulaString, covariates, Ns, predictionLocations, save.predictions = TRUE, debug.level = 0, nfold = 5, ...)
"test.gstatModel"(observations, formulaString, covariates, Ns, predictionLocations, save.predictions = TRUE, debug.level = 0, nfold = 5, ...)
Arguments
observations
object of type "SpatialPointsDataFrame" or "geosamples-class"
formulaString
object of type "formula" or a list of formulas
covariates
object of type "SpatialPixelsDataFrame", or list of grids
Ns
vector; list of sampling intensities (maximum should not exceed the total number of samples)
predictionLocations
object of class "SpatialPixelsDataFrame"; if not specified then passes the object covariates
save.predictions
logical; indicates whether the prediction results should also be saved
debug.level
integer; gstat's setting to hide the progress output
nfold
integer; number of folds for cross-validation
...
other optional arguments that can be passed to fit.gstatModel