Description Usage Arguments Value Examples
Repeats sim.one.ran
N times using
replicate
. Each replication begins with a random
number of initial particles uniformly generated from a
specified range.
1 | ransim.N.true(N, t.end, lam, v, mu, range)
|
N |
An integer, the number of realizations to simulate |
range |
A vector containing possible initial populations, typically a sequence of integers |
t.end |
A number giving the length of time for the simulation |
lam |
Per-particle birth rate |
v |
Per-particle shift rate |
mu |
Per-particle death rate |
A 3 by N matrix; each ith column corresponds to the ith realization. The first row contains initial numbers, the second row contains the number of original indices still present in the population by t.end, and the third row contains the number of new indices present.
1 | ransim.N.true(5,2,.2,.12,.15, seq(7,15))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.