RMfractgauss: Fractal Gaussian Model Family

Description Usage Arguments Details Value References See Also Examples

View source: R/RMmodels.R

Description

RMfractgauss is a stationary isotropic covariance model. The corresponding covariance function only depends on the distance r ≥ 0 between two points and is given by

C(r) = 0.5 ((r+1)^(α)-2r^(α)+|r-1|^(α))

with 0 < α ≤ 2. It can only be used for one-dimensional random fields.

Usage

1
RMfractgauss(alpha,var, scale, Aniso, proj)

Arguments

alpha

0 < α ≤ 2

var,scale,Aniso,proj

optional arguments; same meaning for any RMmodel. If not passed, the above covariance function remains unmodified.

Details

The model is only valid for dimension d = 1 . It is the covariance function for the fractional Gaussian noise with self-affinity index (Hurst parameter) H=α /2 with 0 < α ≤ 2.

Value

RMfractgauss returns an object of class RMmodel.

References

See Also

RMmodel, RFsimulate, RFfit.

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 <- RMfractgauss(alpha=0.5, 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.