model.create {RGeostats}R Documentation

Create a model from arguments

Description

Create or append a model from arguments

Usage

model.create(vartype, range = NA, scale = NA, param = 1, sill = NA, 
	     aniso.rotmat = NA, aniso.angles=NA,
             ndim = 2, nvar = 1, properties = NA, model = NA)

Arguments

vartype

Name (or rank) of the basic structure to be added. The link between the rank and the name is given by a call to the function melem.name().

range

Practical range of the new basic structure. If not defined (but needed for this type of basic structures), scale must be defined instead.

scale

Theoretical range of the new basic structure. If not defined (but needed for this type of basic structures), range must be defined instead.

param

Third parameter (optional) for the new basic structure

sill

Sill (value or matrix) for the new basic structure. If not provided, the unity matrix is used. (Dimension: nvar x nvar)

aniso.rotmat

Anisotropy rotation matrix for the new basic structure. If not provided, the unity matrix is used. (Dimension: ndim x ndim). If defined, you must not use 'aniso.angles'.

aniso.angles

A vector giving the set of rotations. The length of this vector should be equal to 'ndim' - 1. If defined, you must not use 'aniso.rotmat'.

ndim

Space dimension. If not defined, it can be derived from the input model, the anisotropy rotation matrix, the anisotropy coefficients vector, whichever is defined. If none of them is defined, the default space dimension is 2.

nvar

Number of variables. Overwritten by the number of variables of the input model (if provided) or by the dimension of the sill matrix (if provided).

properties

This argument defines the transformation to be applied to the model. For more details, see properties.define.

model

The model-class structure to which the new basic structure should be added.

Value

A model-class structure

See Also

model-class,


[Package RGeostats version 11.1.1 Index]