Learn R Programming

RandomFields (version 3.0.5)

RMnatsc: Natural scale

Description

RMnatsc is a stationary isotropic covariance model that depends on a stationary isotropic covariance model $\phi$. The covariance is given by $$C(h) = \phi(h / s)$$, where the parameter s is chosen by RMnatsc such that the practical range or the mathematical range, if finite) is 1.

Usage

RMnatsc(phi, var, scale, Aniso, proj)

Arguments

phi
a stationary isotropic covariance RMmodel.
var,scale,Aniso,proj
optional parameters; same meaning for any RMmodel. If not passed, the above covariance function remains unmodified.

Value

Details

For internal use only.

See Also

RMmodel, RFsimulate, RFfit.

Examples

Run this code
set.seed(0)
model <- RMnatsc(RMexp())
x <- seq(0, 10, if (interactive()) 0.02 else 1) 
plot(model, ylim=c(0,1)) 
print(RFcov(model, 1)) 
plot(RFsimulate(model, x=x))

Run the code above in your browser using DataLab