getDynamic {nosoi} | R Documentation |
Gets the current number of infected hosts for the full length of the simulation
Description
This 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
.
Usage
getDynamic(nosoi.output)
Arguments
nosoi.output |
Output of a nosoi simulation (object of class |
Value
The output is a data.table
with the following structure:
- state
(only when discrete structure) Given state
- Count
Current number of infected hosts at given time-step.
- type
Host-type, identified by its user-defined prefix.
- t
Time-step (integer).
See Also
[Package nosoi version 1.1.2 Index]