Learn R Programming

RandomFields (version 3.0.10)

RMball: RMball

Description

RMball referes to the indicator function of a ball with radius 1.

Usage

RMball()

Arguments

See Also

RMpolygon RMspheric, RFsimulate, RMmodel.

Examples

Run this code
RFoptions(seed=0)
\dontrun{
model <- RPcoins(shape=RMball())
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