R/output_nosoiSummary.R
getDynamic.RdThis function computes from the output of a nosoiSim simulation the dynamic count of infected hosts at each time step (and each state if discrete structure) of the simulation. The output is a data.table.
getDynamic(nosoi.output)
| nosoi.output | Output of a nosoi simulation (object of class |
|---|
The output is a data.table with the following structure:
(only when discrete structure) Given state
Current number of infected hosts at given time-step.
Host-type, identified by its user-defined prefix.
Time-step (integer).