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).
# NOT RUN {data(SampleInput)
sample.output <- InterVA(SampleInput, HIV = "h", Malaria = "v", write=FALSE)
## Get CSMF without plotscsmf<- CSMF.interVA4(sample.output$VA)
data(SampleInput)
# }