model.write {RGeostats} | R Documentation |
Write a Model in an ASCII file (RGeostats format)
model.write(model, filename="model.ascii", verbose = 0)
model |
The |
filename |
Name of the ASCII file where the Model is dumped out |
verbose |
When TRUE, the verbose option is switched ON |
Format of the ASCII file:
Dimension of the space
Number of variables
Dimension of the field (used to build the stationary equivalent covariance of generalized covariance)
Radius of the convolution ball (used for gradient calculation)
Number of basic structures (covariance, variogram or generalized covariance)
Number of basic drift functions
For each basic structure:
its type
its range
the third parameter (even if not necessary for the given structure)
For each basic drift function:
its type
Per basic structure:
the matrix of sills which should be definite positive (dimension: nvar * nvar)
Not used