compute_dispersion_percentage: Simulate number of secondary infections for given dispersion

View source: R/draft helpers.R

compute_dispersion_percentageR Documentation

Simulate number of secondary infections for given dispersion

Usage

compute_dispersion_percentage(disp, R = 1, sample.size = 1000, prob = 0.2)

Arguments

disp

dispersion

R

reproductive number

sample.size

sample size for simulation

prob

ratio of primary cases under consideration. 20

\item

chainlength of chain

Compute percentage of secondary infections from upper percentage of primary cases

Simulate number of secondary infections for given dispersion


Schmidtpk/InfSup documentation built on Jan. 20, 2024, 12:33 a.m.