spatstat (version 1.7-12)

rMaternI: Simulate Matern Model I

Description

Generate a random point pattern using the Mat'ern Model I inhibition process.

Usage

rMaternI(lambda, r, win = owin(c(0,1),c(0,1)))

Arguments

lambda
Intensity of the Poisson process of proposal points. A single positive number.
r
Inhibition distance.
win
Window in which to simulate the pattern. An object of class "owin" or something acceptable to as.owin.

Value

  • The simulated point pattern (an object of class "ppp").

Details

This algorithm generates a realisation of Mat'ern's Model I inhibition process inside the window win.

The process is constructed by first generating a uniform Poisson point process of ``proposal'' points with intensity lambda inside the window. A proposal point is deleted if it lies within r units' distance of another proposal point. Otherwise it is retained. The retained points constitute Mat'ern's Model I.

See Also

rpoispp, rMatClust

Examples

Run this code
pp <- rMaternI(20, 0.05)

Run the code above in your browser using DataCamp Workspace