Description Usage Arguments Value Examples
makedata.simple
creates a list of synthetic
observed datasets, each with N observation intervals from
the BSD process. Observation interval lengths are entries
in tList. This is used in simulation studies checking
inferential procedures. Simulates observations using
ransim.N.true
.
1 | makedata.simple(N, tList, lam, v, mu, initList)
|
N |
An integer specifying the number of observation intervals/realization from the simple BSD process. |
tList |
A list of observation interval lengths. The number of datasets returned is equal to the length of tList |
lam |
Per-particle birth rate |
v |
Per-particle shift rate |
mu |
Per-particle death rate |
initList |
A vector containing possible initial population sizes |
A list of matrices. Each entry in the list is in the
format returned by ransim.N.true
, and
corresponds to equal observation times specified in the
corresponding entry in tList
1 | makedata.simple(30,c(.2,.4,.6),.2,.12,.15,seq(8,12))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.