powered by
Generate a random multi-dimensional point pattern using the homogeneous Poisson process.
rpoisppx(lambda, domain, nsim=1)
Intensity of the Poisson process. A single positive number.
Multi-dimensional box in which the process should be generated. An object of class "boxx".
"boxx"
Number of simulated realisations to be generated.
If nsim = 1, a point pattern (an object of class "ppx"). If nsim > 1, a list of such point patterns.
nsim = 1
"ppx"
nsim > 1
This function generates a realisation of the homogeneous Poisson process in multi dimensions, with intensity lambda (points per unit volume).
lambda
The realisation is generated inside the multi-dimensional region domain which currently must be a rectangular box (object of class "boxx").
domain
runifpointx, ppx, boxx
runifpointx
ppx
boxx
# NOT RUN { w <- boxx(x=c(0,1), y=c(0,1), z=c(0,1), t=c(0,3)) X <- rpoisppx(10, w) # }
Run the code above in your browser using DataLab