model-class {RGeostats} R Documentation

## Class "model" The Geostatistical Model

### Description

This Class contains the geostatistical "structure" (variogram or covariance) which describes the regularity of one variable or several variables. It may contain one or several Basic Structure (`melem-class`).

### Objects from the Class

Objects can be created by calls of the form `new("model", ...)`. Geostatistical Model

### Slots

`ndim`:

Object of class `"numeric"` Space dimension

`nvar`:

Object of class `"numeric"` Number of variables

`basics`:

Object of class `"list"` List of basic structures of `melem-class`

`properties`:

A `list` where the user can define the parameters of the transformation applied to the Model.

### Methods

[

`model[i]` returns the `melem-class` containing the basic structure number `i`.

[<-

`model[i]<-value` copies the contents of the `value` into the `i-th` basic structure of the `model-class`

\\$

`model\$parameter` is used to query the value of `parameter` from `model`:

• ndim : Space dimension

• nvar : Number of variables

• ncova : Number of basic structures

• basics : List of the basic structures

\\$<-

Same as above but for assignment

show

`model.print`

print

`model.print`

plot

`model.plot`

Other functions are available, such as:

• `model.auto` Automatic fitting of a `vario-class`

• `model.cvv` Calculate the average covariance within a `polygon-class`

• `model.cxv` Calculate the average covariance between a `db-class` and a `polygon-class`

• `model.cxx` Calculate the average value of the model between two `db-class`

• `model.eval` Evaluate a `model-class` for a set of distances, specified by their increments.

• `model.extend` Convert a monovariate `model-class` into a multivariate one

• `model.fit` Fit the Sill matrices of a `model-class` starting from `vario-class`

• `model.grid` Sample a `model-class` on a grid

• `model.input` Define a `model-class` interactively

• `model.read` Read the contents of a `model-class` from a neutral ASCII File

• `model.sample` Sample a `model-class` into a `vario-class`

• `model.window` Define the window containing a `model-class`

### Examples

```showClass("model")
```

[Package RGeostats version 11.2.3 Index]