View source: R/output_nosoiSummary.R
getR0 | R Documentation |
nosoi
simulationGets an estimate of secondary cases (what R0 usually tries to estimate) and its distribution from the output of a nosoiSim
simulation. The actual calculation is based on inactive hosts at the end of the simulation to avoid bias introduced by hosts that have not finished their transmission potential.
getR0(nosoi.output)
nosoi.output |
Output of a nosoi simulation (object of class |
Current getR0 (after and including version 1.1.0) is a corrected version. In previous versions (prior to 1.1.0), the output included in its computation hosts that should not have been counted (still active).
A list with the following items:
Number of inactive hosts at the end of the simulation.
Mean R0 based on the distribution (see below).
Distribution for each host of the secondary cases it generated (in case of dual-hosts, then the secondary cases of the same host-type).
summary.nosoiSim
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.