melem.init {RGeoS} | R Documentation |
Initialize a new melem-class
melem.init(ndim=2,nvar=1,vartype=melem.name(3), range=1, sill=NA, param=1,order=0,flag.aniso=FALSE,aniso.rotmat=NA,aniso.coeffs=NA)
vartype |
Type of the Basic Structure to be created. By default, this type corresponds to the Nugget Effect. The list of types available is:
Some are restricted to 1-D case. The two last types should be discarded when building a covariance Model |
ndim |
Space dimension. |
nvar |
Number of variables. |
range |
This parameter provides the range that should be attributed to the new Basic Structure (if required). |
sill |
This parameter provides the matrix of sills that should be attributed to the new Basic Structure (if required). The dimension of the matrix is 'nvar'. |
param |
This parameter provides the third parameter that should be attributed to the new Basic Structure (if required). |
order |
Parameter giving the maximum order of the IRF which corresponds to the model defined. If mode=-1, only covariances can be entered; if mode=0, all covariances and variograms are allowed. |
flag.aniso |
This parameter provides the Anisotropy flag attributed to the new Basic Structure (if required). |
aniso.rotmat |
This parameter provides the rotation matrix which defines the main axes of the rotation ellipsoid. |
aniso.coeffs |
This parameter provides the vector of coefficients that divide the (isotropic) range along each axis of the anisotropy ellipsoid. |
The new melem-class
Basic Structure.