runifpoint3 | R Documentation |
Generate a random point pattern containing n
independent, uniform random points in three dimensions.
runifpoint3(n, domain = box3(), nsim=1, drop=TRUE)
n |
Number of points to be generated. |
domain |
Three-dimensional box in which the process should be generated.
An object of class |
nsim |
Number of simulated realisations to be generated. |
drop |
Logical. If |
This function generates n
independent random points,
uniformly distributed in the three-dimensional box domain
.
If nsim = 1
and drop=TRUE
, a point pattern in
three dimensions (an object of class "pp3"
).
If nsim > 1
, a list of such point patterns.
and \rolf.
rpoispp3
,
pp3
,
box3
X <- runifpoint3(50)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.