Learn R Programming

MGDrivE2 (version 2.1.0)

track_hinf: 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)

Value

a sparseMatrix object

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.