Description Usage Arguments Details Value
Simulates point locations from a point process with deletion areas.
1 2 |
pars |
A named vector of parameter values. Required
parameters are |
d |
a numeric value specifying the number of dimensions the point process is to be simulated in, by default this is 2. |
lims |
An argument specifying the limits of the domain, for 1D this is a vector, for 2D or greater. By deafault this specifies the unit square. |
plot.points |
Logical, if |
plot.empirical |
Logical, if |
return.parents |
Logical, if |
The rchild
function may only take a single distributional
parameter. If the distribution for the number of children generated
by each parent is Poisson, then the native rpois
is
appropriate, as this distribution has a single parameter. For
distributions with two or more parameters, those other than
child.par
must be hard-coded into rchild
. For
example, if a Binomial(n, 2, p) is required, then function(n,
p) rbinom(n = n, size = 2, prob = p)
would be an appropriate
function for rchild
.
A matrix containing simulated point locations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.