pNextGenSize {branchingprocess}R Documentation

Probability of y total transmission directly from x independent infected individuals

Description

Probability of y total transmission directly from x independent infected individuals

Usage

pNextGenSize(x, y, R, k)

Arguments

x

Number of infected individuals in generation n

y

Number of total transmissions in generation n+1

R

Mean of negative binomial offspring distribution

k

Dispersion of negative binomial offspring distribution

Value

The probability of the given number of transmissions

Examples

# With 5 individuals in this generation, what is the probability of
# 0 to 15 transmissions in the next generation?
pNextGenSize(x=5, y=0:15, R=0.2, k=0.1)

[Package branchingprocess version 0.1.0 Index]