Learn R Programming

RandomFields (version 3.0.32)

RMpolygon: RMpolygon

Description

RMpolygon referes to the indicator function of a typical Poisson polygon

Usage

RMpolygon(lambda)

Arguments

lambda
intensity of the hyperplan process creating the random shape function

The default value is 1.

See Also

RMball RMspheric, RFsimulate, 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
\dontrun{
model <- RPcoins(shape=RMpolygon())
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