Description Usage Arguments Value Examples
Replicates sim.one.eventcount
N times. Each
replication begins with initNum particles.
1 | sim.N.eventcount(N, t.end, lam, v, mu, initNum)
|
N |
The number of replications, an integer |
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 |
initNum |
An integer, initial total number of particles |
A 4 by N matrix, where rows correspond to total copies, shifts, deaths, and particle time per realization, respectively. Each column corresponds to one realization of the process.
1 | sim.N.eventcount(5,2,.2,.12,.15,10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.