Generates a command script based on the regression model and variogram. This can then be used to run predictions/simulations by using the pre-compiled binary gstat.exe.
character; file name for the GeoEAS file with observed values
nsim
integer; number of simulations
nmin
integer; smallest number of points in the search radius (see gstat user's manual)
nmax
integer; largest number of points in the search radius (see gstat user's manual)
radius
numeric; search radius (see gstat user's manual)
zmap
numeric; fixed value for the 3D dimension in the case of 3D kriging
predictions
character; output file name for predictions
variances
character; output file name for kriging variances
xcol
integer; position of the x column in the GeoEAS file
ycol
integer; position of the y column in the GeoEAS file
zcol
integer; position of the z column in the GeoEAS file
vcol
integer; position of the target variable column in the GeoEAS file
Xcols
integer; column numbers for the list of covariates
Details
To run the script under Windows OS you need to obtain the pre-compiled gstat.exe program from the www.gstat.org website, and put it in some directory e.g. c:/gstat/. Then add the program to your path (see environmental variable under Windows > Control panel > System > Advanced > Environmental variables), or copy the exe program directly to some windows system directory.
Note
The advantage of using gstat.exe is that it loads large grids much faster to memory than if you use gstat in R, hence it is potentially more suited for computing with large grids. The draw back is that you can only pass simple linear regression models to gstat.exe. The stand-alone gstat is not maintained by the author of gstat any more.