Learn R Programming

RandomFields (version 3.0.10)

RMqexp: Variant of the exponential model

Description

The covariance function is

$$C(x)= ( 2 e^{-x} - \alpha e^{-2x} ) / ( 2 - \alpha )$$

Usage

RMqexp(alpha, var, scale, Aniso, proj)

Arguments

alpha
value in $[0,1]$
var,scale,Aniso,proj
optional parameters; same meaning for any RMmodel. If not passed, the above covariance function remains unmodified.

Value

References

  • ?

See Also

RMmodel,

Examples

Run this code
RFoptions(seed=0)
model <- RMqexp(alpha=0.95, scale=0.2)
x <- seq(0, 10, if (interactive()) 0.02 else 1) 
plot(model, ylim=c(0,1))
plot(RFsimulate(model, x=x))
RFoptions(seed=NA)

Run the code above in your browser using DataLab