View source: R/mcmc_posterior.R
| deme2deme | R Documentation | 
Gets the proportion of infections in one deme attributable to another deme, and calculates the median, lower and upper bounds.
deme2deme(births.p, times, r, c)
births.p | 
 list for birth elements (resulted from calculating the demographic model)  | 
times | 
 vector of time points associated to the birth lists  | 
r | 
 row number for deme2  | 
c | 
 column number for deme1  | 
row and column numbers will determine which proportion of infections
in one deme is attributable to onother deme. For example, for our analysis
for the Senegal data, r = 3 and c = 2 represent the proportion
of infections in gpf attributable to msm
dataframe of median, and lower and upper bounds for the proportion of infections in one deme attributable to another deme
#TO DO
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.