runifpoint3
From spatstat v1.41-1
by Adrian Baddeley
Generate N Uniform Random Points in Three Dimensions
Generate a random point pattern containing n
independent, uniform random points in three dimensions.
Usage
runifpoint3(n, domain = box3(), nsim=1)
Arguments
- n
- Number of points to be generated.
- domain
- Three-dimensional box in which the process should be generated.
An object of class
"box3"
. - nsim
- Number of simulated realisations to be generated.
Details
This function generates n
independent random points,
uniformly distributed in the three-dimensional box domain
.
Value
- If
nsim = 1
, a point pattern in three dimensions (an object of class"pp3"
). Ifnsim > 1
, a list of such point patterns.
See Also
Examples
X <- runifpoint3(50)
Community examples
Looks like there are no examples yet.