getTopCOD: Extract the most likely cause of death

Description Usage Arguments Value Examples

View source: R/CSMF.r

Description

Extract the most likely cause of death

Usage

1
getTopCOD(x, interVA.rule = TRUE)

Arguments

x

a fitted object from codeVA.

interVA.rule

Logical indicator for interVA object only. If TRUE, only the InterVA reported first cause is extracted.

Value

a data frame of ID and most likely cause assignment.

Examples

1
2
3
4
5
data(RandomVA1)
# for illustration, only use interVA on 100 deaths
fit <- codeVA(RandomVA1[1:100, ], data.type = "WHO", model = "InterVA",
                  version = "4.02", HIV = "h", Malaria = "l")
getTopCOD(fit)


openVA documentation built on May 20, 2017, 1:02 a.m.
Search within the openVA package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.