Generate N Uniform Random Points in Three Dimensions
Generate a random point pattern containing
independent, uniform random points in three dimensions.
runifpoint3(n, domain = box3(), nsim=1, drop=TRUE)
- Number of points to be generated.
- Three-dimensional box in which the process should be generated.
An object of class
- Number of simulated realisations to be generated.
- Logical. If
drop=TRUE(the default), the result will be a point pattern, rather than a list containing a point pattern.
This function generates
n independent random points,
uniformly distributed in the three-dimensional box
nsim = 1and
drop=TRUE, a point pattern in three dimensions (an object of class
nsim > 1, a list of such point patterns.
X <- runifpoint3(50)
Looks like there are no examples yet.