Learn R Programming

RandomFields (version 3.0.35)

RMtruncsupport: Random sign

Description

It may be used to truncate the support of a shape function when Poisson fields or M3 processes are created.

Usage

RMtruncsupport(phi, radius)

Arguments

phi
function of class RMmodel.
radius
truncation at radius

Value

References

  • Schlather, M. (2002) Models for stationary max-stable random fields.Extremes5, 33-44.

See Also

RMmodel, RMmatrix, RPpoisson

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 
\dontrun{
model <- RPcoins(shape = RMtruncsupport(RMgauss(), radius=1.5), intensity=1)
x <- seq(0, 10, if (interactive()) 0.02 else 1)
plot(RFsimulate(model, x=x))
}
FinalizeExample()

Run the code above in your browser using DataLab