powered by
Generate a random point pattern containing n independent, uniform random points in any number of spatial dimensions.
n
runifpointx(n, domain, nsim=1)
Number of points to be generated.
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 pattern of n independent random points, uniformly distributed in the multi-dimensional box domain.
domain
rpoisppx, ppx, boxx
rpoisppx
ppx
boxx
# NOT RUN { w <- boxx(x=c(0,1), y=c(0,1), z=c(0,1), t=c(0,3)) X <- runifpointx(50, w) # }
Run the code above in your browser using DataLab