Description Usage Arguments Value Author(s) See Also Examples
View source: R/InterVA5.get.symptoms.R
The function takes an interVA5 object and the data used to assign the causes, and returns the the symptoms that contribute to the cause assignment (ranked in order of the conditional probabilities of observing a symptom, given the death is due to that particular cause).
1 |
object |
An interVA5 object (i.e., the results returned from the InterVA5() function). |
data |
The input data that InterVA5 used to assign the causes of death. |
IDs |
A vector that contains the IDs for each death (note that all of IDs are contained in data$ID and object$ID). |
pretty |
A logical indicating if you want the results in an easy-to-read format (default is 'TRUE') |
includeAll |
A logical indicating if you want all of the symptoms included in the output (even those which are absent or have a value of missing/no) (default is 'FALSE' which only includes symptoms that are present). |
dist.cod |
A list of results for each death (organized by ID). For each death, a list is returned that includes the death's ID, the cause, and a vector of strings listing a symptom, it if contributes to the cause assignment (if includeAll = TRUE), and the conditional probability of observing the symptom given that the death is due to this cause. |
Jason Thomas, Zehang LI, Tyler McCormick, Sam Clark
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.