getCSMF {openVA} | R Documentation |
Obtain CSMF from fitted model
Description
Obtain CSMF from fitted model
Usage
getCSMF(x, CI = 0.95, interVA.rule = TRUE)
Arguments
x |
a fitted object from |
CI |
For |
interVA.rule |
Logical indicator for |
Value
a vector or matrix of CSMF for all causes.
See Also
Other output extraction:
getCCC()
,
getCSMF_accuracy()
,
getIndivProb()
,
getTopCOD()
Examples
## Not run:
library(InSilicoVA)
data(RandomVA1)
# for illustration, only use interVA on 100 deaths
fit <- codeVA(RandomVA1[1:100, ], data.type = "WHO2012", model = "InterVA",
version = "4.03", HIV = "h", Malaria = "l", write=FALSE)
getCSMF(fit)
library(InterVA5)
data(RandomVA5)
fit <- codeVA(RandomVA5[1:100, ], data.type = "WHO2016", model = "InterVA",
version = "5", HIV = "h", Malaria = "l", write=FALSE)
getCSMF(fit)
## End(Not run)
[Package openVA version 1.1.2 Index]