Learn R Programming

RandomFields (version 3.1.12)

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 arguments; 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) ## *ANY* simulation will have the random seed 0; set
##                   RFoptions(seed=NA) to make them all random again
StartExample()
model <- RMqexp(alpha=0.95, scale=0.2)
x <- seq(0, 10, 0.02)
plot(model)
plot(RFsimulate(model, x=x))
FinalizeExample()

Run the code above in your browser using DataLab