Description Usage Arguments Value
User-friendly function to construct a new valid bpm
object
1 | bp_model(e_mat, p_vec, func_deps, nparam, ndep)
|
e_mat |
The matrix of birth events that can occur in the brnaching process. Dimensions |
p_vec |
A vector containing the parent type for each of the birth events in |
func_deps |
A vector of expressions encoding how each rate depends on the parameters of the model and a set of dependent variables. |
nparam |
The number of parameters in the model |
ndep |
The number of dependent variables which influence the rates of the model |
A new branching process model object if the parameters passed are valid. Otherwise an exception is thrown.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.