Learn R Programming

RandomFields (version 3.0.10)

RMpolygon: RMpolygon

Description

RMpolygon referes to the indicator function of a typical Poisson polygon

Usage

RMpolygon(lambda, safetyfactor)

Arguments

lambda
intensity of the hyperplan process creating the random shape function

The default value is 1.

safetyfactor
the shape function is cut after safetyfactor times the $d$th root of the area mean or mean volume of the polygon. Here, $d$ is the dimension of the field.

The default value is 15. (The larger the more precise is the

See Also

RMball RMspheric, RFsimulate, RMmodel.

Examples

Run this code
RFoptions(seed=0)
\dontrun{
model <- RPcoins(shape=RMpolygon())
x <- seq(0, 10, if (interactive()) 0.02 else 1) 
plot(RFsimulate(model, x=x))
}
RFoptions(seed=NA)

Run the code above in your browser using DataLab