runifpointx
From spatstat v1.21-0
by Adrian Baddeley
Generate N Uniform Random Points in Any Dimensions
Generate a random point pattern containing n
independent, uniform random points in any number of spatial dimensions.
Usage
runifpointx(n, domain)
Arguments
- n
- Number of points to be generated.
- domain
- Multi-dimensional box in which the process should be generated.
An object of class
"boxx"
.
Details
This function generates n
independent random points,
uniformly distributed in the multi-dimensional box domain
.
Value
- The simulated point pattern (an object of class
"ppx"
).
See Also
Examples
w <- boxx(x=c(0,1), y=c(0,1), z=c(0,1), t=c(0,3))
X <- runifpointx(50, w)
Community examples
Looks like there are no examples yet.