Description Usage Arguments Value
Simulate multi-type Markov branching process
1 | bp(e_mat, r_vec, p_vec, z0_vec, times)
|
e_mat |
The matrix of birth events that can occur in the brnaching process. Dimensions |
r_vec |
A vector containing the rate at which each of the birth events in |
p_vec |
A vector containing the parent type for each of the birth events in |
z0_vec |
The initial population vector at time 0. Dimensions |
times |
The timepoints at which to record the population |
A matrix with the population vectors at each timepoint. Dimensions ntimes
x ntypes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.