f_z_poiss: Compute the probability of observing an outbreak of size z...

Description Usage Arguments Value Author(s) Examples

View source: R/f_z_poiss.R

Description

Compute the probability of observing an outbreak of size z given an R<1 and assuming a Poisson offspring distribution

Usage

1
f_z_poiss(z, s, R)

Arguments

R

is the reproduction number, i.e. the average number of secondary cases due to a single case. This can be any positive number.

Value

The function returns a list including:

#'

Author(s)

Pierre Nouvellet (p.nouvellet@imperial.ac.uk)

Examples

1
2
3
4
x <- R_eff_poisson(.5)
x
x <- R_eff_poisson(1.5)
x

reconhub/branchr documentation built on May 27, 2019, 4:01 a.m.