Description Usage Arguments Value

Generates the age-mixing contact matrix taking into account contact rates and durations

1 2 | ```
generate_contact_matrix(contactRates, contactDur, n_ages, ON = TRUE,
TRANSPOSE = TRUE)
``` |

`contactRates` |
the vector or matrix of age-specific contact rates |

`contactDur` |
the vector or matrix of age-specific contact durations |

`n_ages` |
the number of age groups |

`ON` |
bool, if FALSE, turns off age mixing |

`TRANSPOSE` |
bool, if TRUE, returns the transpose of the created matrix |

the matrix of age-specific contact rates

jameshay218/vaxedemic documentation built on Dec. 10, 2018, 8:11 p.m.

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.