pGen {branchingprocess}R Documentation

Probability that one initial case leads to an outbreak lasting less than g generations of transmission.

Description

Probability that one initial case leads to an outbreak lasting less than g generations of transmission.

Usage

pGen(gMax, R, k)

Arguments

gMax

Maximum number of generations.

R

Reproduction number.

k

Dispersion parameter.

Value

A vector of probabilities for each number of generations from 1 to gmax

Author(s)

Damon Toth

Examples

# Probability of outbreak lasting less than 1,2,3,...,10 generations:
pGen(gMax=10, R=0.9, k=0.1)

[Package branchingprocess version 0.1.0 Index]