calculate_newCases: Calculate the proportion of new cases

View source: R/miscellaneous.R

calculate_newCasesR Documentation

Calculate the proportion of new cases

Description

Calculate the proportion of new cases

Usage

calculate_newCases(f)

Arguments

f

list of object "births" as returned by the solved demographic model. (see dm function in phydynR)

Value

the sum of columns in each matrix, which will correspond to new HIV cases. 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.

Examples

# TO DO

thednainus/senegalHIVmodel documentation built on Oct. 14, 2024, 5:46 a.m.