deme2deme: Gets the proportion of infections in deme1 atributable to...

Description Usage Arguments Details Value Examples

View source: R/mcmc_posterior.R

Description

Gets the proportion of infections in one deme attributable to another deme, and calculates the median, lower and upper bounds.

Usage

1
deme2deme(births.p, times, r, c)

Arguments

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

Details

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

Value

dataframe of median, and lower and upper bounds for the proportion of infections in one deme attributable to another deme

Examples

1
#TO DO

thednainus/senegalHIVmodel documentation built on Oct. 28, 2021, 3:11 p.m.