df_pafs: Create dataframe for PAF

Description Usage Arguments Value Examples

View source: R/mcmc_posterior.R

Description

Creates a dataframe for population attributable fraction (PAF). This dataframe have information for median and lower and upper bounds for PAF by group (gpm, gpf and msm).

Usage

1
df_pafs(births.p, births.map, times)

Arguments

births.p

list for birth elements (resulted from calculating the demographic model)

births.map

list for birth elements for MAP (Maximum a posteriori)

times

vector of time points associated to the birth lists

Value

dataframe of median and upper, lower bounds for the posterior, and PAF for MAP

Examples

1
#TO DO

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