To generate a covariance or variogram model for use within
RandomFields, calls of the form
$$RM_name_(..., var, scale, Aniso, proj)$$
can be used,
where _name_ has to be replaced by a valid model name,
...
can take model specific arguments. %Argument
%corresponding to specific covariance modelvar
is the optional variance argument$v$,scale
the optional scale argument$s$,Aniso
an optional anisotropy matrix$A$or given byRMangle, andproj
is the optional projection vector which defines a
diagonal matrix of zeros and ones andproj
gives the
positions of the ones (integer values).
With $\phi$ denoting the original model, the transformed model is
$C(h) = v * \phi(A*h/s)$. RM_name_ must be a function of class
RMmodelgenerator.
The return value of all functions RM_name_ is of class
RMmodel.
The following models are available
(cf. RFgetModelNames).
Basic stationary and isotropic models
ll{
RMcauchy Cauchy family
RMexp exponential model
RMgencauchy generalized Cauchy family
RMgauss Gaussian model
RMgneiting differentiable model with compact support
RMmatern Whittle-Matern model
RMnugget nugget effect model
RMspheric spherical model
RMstable symmetric stable family or powered exponential model
RMwhittle Whittle-Matern model, alternative
parametrization
}
Variogram models (stationary increments/intrinsically stationary)
ll{
RMfbm fractal Brownian motion
}
Basic Operations
ll{
RMmult, *
product of covariance models
RMplus, +
sum of covariance models or variograms
}
Basic models for mixed effect modelling
ll{
RMconstant constant pre-defined covariance
RMfixed fixed or trend effects;
Caution: RMfixed is not
a function and can be used only in formula notation
}
Others
ll{
RMtrend trend
RMangle defines a 2x2 anisotropy matrix by
rotation and stretch arguments.
}
See RMmodelsAdvanced for many more, advanced models.