rpoisppx:
Generate Poisson Point Pattern in Any Dimensions
Description
Generate a random multi-dimensional point pattern
using the homogeneous Poisson process.
Usage
rpoisppx(lambda, domain, nsim=1)
Arguments
lambda
Intensity of the Poisson process.
A single positive number.
domain
Multi-dimensional box in which the process should be generated.
An object of class "boxx".
nsim
Number of simulated realisations to be generated.
Value
If nsim = 1, a point pattern (an object of class "ppx").
If nsim > 1, a list of such point patterns.
Details
This function generates a realisation
of the homogeneous Poisson process in multi dimensions,
with intensity lambda (points per unit volume).
The realisation is generated inside the multi-dimensional region
domain which currently must be a rectangular box (object of
class "boxx").