Description Usage Arguments Value

View source: R/pathogenDiversity.R

Calculate infection rates for each colony.

Calculate recovery rates for each colony.

1 2 3 | ```
infectionR(pop, t)
recoveryR(pop, t)
``` |

`pop` |
A population object |

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

nColonies * nPathogens vector Grouped by pathogen

nColonies * nPathogens vector Grouped by pathogen

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.