Analyzing age preference data to inform mathematical models of STIs

best_age_mixing | Return best-fitting mixing structure |

calculate_single_year_age_distribution | Calculate age distribution. |

define_age_group_matrix | Create age mixing matrices for the desired age groups. |

estimate_age_mixing | Calculate age mixing structures |

fill_omegas | Fill mixing matrices based on estimates. Mostly private... |

mixage-package | mixage: Estimate preferred age of sexual partners |

mixage_sample_data | Sample data. |

natsal_estimates | Best estimated age mixing matrices. |

uk_life_table | Life table data from UK, 2010 - 2012 |

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.