rpoisppx {spatstat} | R Documentation |
Generate a random multi-dimensional point pattern using the homogeneous Poisson process.
rpoisppx(lambda, domain)
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 |
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"
).
The simulated multi-dimensional point pattern
(an object of class "ppx"
).
The intensity lambda
is the expected number of points
per unit volume.
Adrian Baddeley Adrian.Baddeley@csiro.au http://www.maths.uwa.edu.au/~adrian/ and Rolf Turner r.turner@auckland.ac.nz
w <- boxx(x=c(0,1), y=c(0,1), z=c(0,1), t=c(0,3)) X <- rpoisppx(10, w)