df_newCases: Create dataframe for new cases of HIV

Description Usage Arguments Value Examples

View source: R/mcmc_posterior.R

Description

Creates a dataframe for new cases of HIV. This dataframe have information for median and lower and upper bounds for new HIV cases by group (gpm, gpf and msm).

Usage

1
df_newCases(newCases.p, newCases.map, times)

Arguments

newCases.p

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

newCases.map

list for birth element for MAP (Maximum a posteriori)

times

vector of time points associated to the birth list

Value

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

Examples

1
#TO DO

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