R/output_nosoiSummary.R
getCumulative.Rd
This function computes from the output of a nosoiSim
simulation the cumulative count of infected hosts at each time step of the simulation. The output is a data.table
.
getCumulative(nosoi.output)
nosoi.output | Output of a nosoi simulation (object of class |
---|
The output is a data.table
with the following structure:
Time-step (integer).
Cumulative number of infected hosts at given time-step.
Host-type, identified by its user-defined prefix.