COMCAT.interVA5: Summarize population level mortality fraction by Circumstance...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/InterVA5.plot.R

Description

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

Usage

1

Arguments

va

The list of va object to summarize.

Value

dist.cod

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

Author(s)

Jason Thomas, Zehang LI, Tyler McCormick, Sam Clark

See Also

CSMF5

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## 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)

## End(Not run)

InterVA5 documentation built on July 21, 2021, 5:06 p.m.