Learn R Programming

InterVA4 (version 1.7.6)

CSMF.interVA4: Summarize population level cause-specific mortality fraction as InterVA4 suggested.

Description

The function takes input of a list of va object and calculates the cause-specific mortality fraction. It only calculates CSMF as aggregation of up to the third largest causes.

Usage

CSMF.interVA4(va)

Arguments

va

The list of va object to summarize.

Value

dist.cod

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

See Also

CSMF

Examples

Run this code
# NOT RUN {
data(SampleInput)
sample.output <- InterVA(SampleInput, HIV = "h", Malaria = "v", write=FALSE)
## Get CSMF without plots
csmf<- CSMF.interVA4(sample.output$VA)
data(SampleInput)

# }

Run the code above in your browser using DataLab