RandomFields (version 3.0.5)

RMS: Scaling operator

Description

RMS is an operator that modifies the variance and the coordinates or distances of a submodel $\phi$ by $$C(h) = v * phi(A*h/s).$$ Most users will never call RMS directly, see the details.

Usage

RMS(phi, var, scale, Aniso, proj, anisoT)

Arguments

phi
submodel
var
is the optional variance parameter $v$,
scale
scaling parameter $s$ which is positive
Aniso
the optional anisotropy matrix $A$, multiplied from the left, or an arbitrary function
proj
is the optional projection vector which defines a diagonal matrix of zeros and ones and proj gives the positions of the ones (integer values between 1 and teh dimension of $x$).
anisoT
the transpose of the anisotropy matrix $A$, multiplied from the right

Value

Details

The call in the usage section is equivalent to phi(..., var, scale, anisoT, Aniso, proj), where phi has to be replaced by a valid RMmodel

Most user will never call RMS directly.

See Also

RMmodel,

Examples

Run this code
set.seed(0)
model1 <- RMS(RMexp(), scale=2)
model2 <- RMexp(scale=2)
x <- seq(0, 10, if (interactive()) 0.02 else 1)
print(all(RFcov(model1, x) == RFcov(model2, x))) # TRUE

Run the code above in your browser using DataLab