infectionR: Calculate infection rates for each colony.

Description Usage Arguments Value

View source: R/pathogenDiversity.R

Description

Calculate infection rates for each colony.

Calculate recovery rates for each colony.

Usage

1
2
3
infectionR(pop, t)

recoveryR(pop, t)

Arguments

pop

A population object

t

Time step. Note the population should be AT time t, going to t+1.

Value

nColonies * nPathogens vector Grouped by pathogen

nColonies * nPathogens vector Grouped by pathogen


timcdlucas/MetapopEpi documentation built on May 27, 2017, 8:37 a.m.