track_hinf {MGDrivE2} | R Documentation |
Make tracking matrix for human infection events
Description
Create a matrix object for tracking incidence in human population
to be passed to either sim_trajectory_CSV
or sim_trajectory_R
.
Usage
track_hinf(spn_T, S)
Arguments
spn_T |
set of transitions |
S |
stoichiometry matrix |
Details
The returned matrix can be passed to the Sout
argument of sim_trajectory_CSV
or sim_trajectory_R
.
Value
a sparseMatrix
object
[Package MGDrivE2 version 2.1.0 Index]