Description Usage Arguments Value Examples
Simulates a birth-shift-death process and records the number of births, deaths, and shifts, as well as total particle time, over the observation interval until time t.end. Used toward simulation functions that check accuracy of expected restricted moment calculations
1 | sim.eventcount(t.end, lam, v, mu, initNum)
|
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 vector of four numbers giving total copies, shifts, deaths, and particle time, respectively. Returns the integer '999' as an error code if error occurs.
1 | sim.eventcount(2,.2,.12,.15,10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.