compute_incidence: Difference an incidence variable in a census matrix.

View source: R/RcppExports.R

compute_incidenceR Documentation

Difference an incidence variable in a census matrix.

Description

Difference an incidence variable in a census matrix.

Usage

compute_incidence(censusmat, col_inds, row_inds)

Arguments

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

Value

update the census matrix in place


fintzij/stemr documentation built on March 25, 2022, 12:25 p.m.