View source: R/miscellaneous.R
calculate_pafs | R Documentation |
Calculate the proportion of population attributable fraction (PAF) of transmissions.
calculate_pafs(f)
f |
list of object "births" as returned by the solved demographic model. (see build.demographic.process function in phydynR) |
the sum of rows in each matrix, which will correspond to PAFs. Here "births" object is a list in which each element corresponts to a time point and is a 4 by 4 matrix. See vignette for more details.
# TO DO
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.