Description Usage Arguments Value
Compute stage frequencies from simulated stage durations.
1 | stageFreqMC(sampleTimes, sDur, mortRate)
|
sampleTimes |
Vector of times at which the cohort was sampled. |
sDur |
A matrix of stage durations where each row corresponds to the stage duration of an individual. If there is no exit from the last stage, the stage duration of that stage can be set to Inf. |
mortRate |
A vector of mortality rates for each stage. Should be of length equal to the number of columns of sDur. |
A matrix of stage counts. Each row gives the number of individuals in each stage for a given sampling time.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.