Description Usage Arguments Value
View source: R/calculateTransitionRates.R
Create Transition Rate Matrix
1 | calculateTransitionRates(transition_counts, n_per_stage)
|
transition_counts |
Matrix of transition counts (representing the number of individuals observed to transition from the stage represented by the column name to the stage represented by the row name). |
n_per_stage |
Observed number of individuals per stage |
Returns A Matrix of the same dimensions as transition_counts that gives the rates at which individuals transition from one stage to another. This is calculated as the number in a given transition_counts cell divided by the number of individuals observed in that stage (the stage given by the column name of that transition_counts cell).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.