model.fit {RGeostats}  R Documentation 
Fit the Sill matrices of a Model according to experimental Variograms
model.fit(vario, model, constraints=NA, wmode=2, maxiter = 100, draw = TRUE, flag.ask = NA, flag.fit = TRUE, verbose=0, ...)
vario 
The 
model 
The 
constraints 
Vector giving the constraints on the sills of the model. This vector must be dimensionned to the number of variables in the model. All its terms must be defined and positive. Otherwise, no constraints is applied on the Sill estimation. 
wmode 
Type of the weighting function used in the fitting procedure. This function is defined in the case of several directional experimental variograms, calculated in a multivariate case:

maxiter 
Maximum number of iterations in the fitting procedure. 
draw 
When TRUE, both the experimental variograms and the Model are represented graphically. Otherwise, no graphic is produced. 
flag.ask 
When TRUE, the parameters of the model are entered interactively. When FALSE and if a model is provided as an argument, the automatic sill takes place and no question is asked. When not defined, its value is defaulted to FALSE if a model is provided and to TRUE otherwise 
flag.fit 
When TRUE, the automatic sill fitting algorithm is switched ON. Otherwise, the user must define the sills. 
verbose 
Verbose option

... 
Arguments passed to 