compute_incidence | R Documentation |
Difference an incidence variable in a census matrix.
compute_incidence(censusmat, col_inds, row_inds)
censusmat |
matrix of compartment counts at census times, to be updated |
col_inds |
column indices for which incidence should be computed |
row_inds |
list of vectors of row indices for each of the incidence variables |
update the census matrix in place
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.