View source: R/incidence2prevalence.R
incidence2prevalence | R Documentation |
Convert an LNA/ODE incidence path to a prevalence path.
incidence2prevalence( path, flow_matrix, init_state, forcings = NULL, forcing_matrix = NULL )
path |
matrix containing the incidence path the first column of which are incidence times |
flow_matrix |
flow matrix |
init_state |
vector of initial compartment counts |
forcings |
list of forcing lists |
forcing_matrix |
matrix containing the forcings the first column of which are times of forcings |
matrix containing the prevalence path
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.