Draw the number of infections for a particular time step.

.draw_It(Rt, incidence, day, infectiousness_profile)

Arguments

Rt

Numeric vector. Reproductive number values through time.

incidence

Numeric vector. Incidence of infections through time before the current time step.

day

Integer. Index of the current time step.

infectiousness_profile

Numeric vector. Discretized infectiousness values through time.

Value

Positive integer. Simulated number of infections for the current time step.