Gets 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.
Output of a nosoi simulation (object of class
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).