Learn R Programming

InterVA5 (version 1.1.3)

COMCAT.interVA5: Summarize population level mortality fraction by Circumstance of Mortality Category

Description

The function takes input of a list of va object and calculates the mortality fraction by Circumstance of Mortality Category.

Usage

COMCAT.interVA5(va)

Arguments

va

The list of va object to summarize.

Value

dist.cod

The cause-specific mortality fraction (including undetermined category).

See Also

CSMF5

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
data(RandomVA5)
# only fit first 20 observations for a quick illustration
RandomVA5 <- RandomVA5[1:20, ]

sample.output <- InterVA5(RandomVA5, HIV = "h", Malaria = "v", 
       write=TRUE, directory = tempdir(),
       filename = "VA5_result", output = "extended", append = FALSE)
## Get CSMF without plots
comcat <- COMCAT.interVA5(sample.output$VA5)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab