RMtruncsupport: Truncating the Support of a Shape Function

Description Usage Arguments Value References See Also Examples

View source: R/RMmodels.R

Description

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

Usage

1
RMtruncsupport(phi, radius)

Arguments

phi

function of class RMmodel

radius

truncation at radius

Value

RMtruncsupport returns an object of class RMmodel.

References

See Also

RMmodel, RMmatrix, RPpoisson.

Examples

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

model <- RMgauss()
model1 <- RMtruncsupport(model, radius=1)
plot(model)
lines(model1, col="red")

## For a real application of 'RMtruncsupport' see example 2 of 'RPpoisson'.

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