getIndivProb | R Documentation |
Extract individual distribution of cause of death
getIndivProb(x, CI = NULL, ...)
x |
a fitted object from |
CI |
Credible interval for posterior estimates. If CI is set to TRUE, a list is returned instead of a data frame. |
... |
additional arguments that can be passed to |
a data frame of COD distribution for each individual specified by row names.
Other output extraction:
getCCC()
,
getCSMF_accuracy()
,
getCSMF()
,
getTopCOD()
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", write=FALSE)
probs <- getIndivProb(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.