nosoi (version 1.0.0)

numberInfectedBGW: Number of infected hosts at time t (BGW)

Description

For a given time t, this function returns the number of infected active units. The difference with numberInfected is that it counts an "out" individual as still there, but with no children. This is for comparison with the BGW process, should be internal only.

Usage

numberInfectedBGW(table.nosoi, t)

Arguments

table.nosoi

result of function nosoiSim

t

time (integer)

Value

Number of infected units at time t

See Also

nosoiSim