model.read {RGeostats} | R Documentation |

Read a Model from an ASCII file (RGeostats format)

model.read(filename)

`filename` |
Name of the ASCII file containing the information of the Model |

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)

The newly created Model structure

[Package *RGeostats* version 11.0.6 Index]