Make population distribution using Mistry et al. data

mk_mistry_Nvec(province = "ON", age_cat = NULL)

Arguments

province

province for which to construct the matrix (if NULL, make a Canada-wide contact matrix)

age_cat

(optional) list of age groups to aggregate ages in; use `mk_agecats()` to generate (must start with 0 and end with 84); default is single ages starting with 0 and up to 83, then a single 84+ category

Value

a vector of population counts (one per age category)

Examples

mk_mistry_Nvec()
#>  [1] 135164 138093 139864 142418 141736 140690 140689 141366 140769 142846
#> [11] 145363 150086 151077 157190 160062 167394 169949 166838 168849 169875
#> [21] 169977 170554 165016 161003 162486 164884 163661 162809 164721 162908
#> [31] 165661 160889 159886 158462 162295 165417 169244 166448 169682 173026
#> [41] 183638 183001 184026 183330 186570 198452 210100 213540 215307 210920
#> [51] 212890 204568 197404 192988 187221 181643 180263 170596 163561 159249
#> [61] 157580 152923 149532 150536 150203 122426 115371 113108 107168  99563
#> [71]  94008  90903  86929  83049  77975  76662  71381  66101  64955  63276
#> [81]  61290  55772  52836  40586 216315