RMqexp: Variant of the exponential model

Description Usage Arguments Value References See Also Examples

View source: R/RMmodels.R

Description

The covariance function is

C(x)= ( 2 e^{-x} - α e^{-2x} ) / ( 2 - α )

Usage

1
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

RMqexp returns an object of class RMmodel.

References

See Also

RMmodel.

Examples

1
2
3
4
5
6
7
RFoptions(seed=0) ## *ANY* simulation will have the random seed 0; set
##                   RFoptions(seed=NA) to make them all random again

model <- RMqexp(alpha=0.95, scale=0.2)
x <- seq(0, 10, 0.02)
plot(model)
plot(RFsimulate(model, x=x))

RandomFields documentation built on Jan. 19, 2022, 1:06 a.m.