Description Usage Arguments References Examples
View source: R/InterVA5.summary.R
This function prints the summary message of the fitted results.
1 2 |
object |
fitted object from |
top |
number of top CSMF to show |
id |
the ID of a specific death to show |
InterVA.rule |
If it is set to "TRUE", only the top 3 causes reported by InterVA5 is calculated into CSMF as in InterVA5. The rest of probabilities goes into an extra category "Undetermined". Default set to "TRUE". |
... |
not used |
http://www.interva.net/
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ## Not run:
data(RandomVA5)
# only fit first 20 observations for a quick illustration
RandomVA5 <- RandomVA5[1:20, ]
## to get easy-to-read version of causes of death make sure the column
## orders match interVA5 standard input this can be monitored by checking
## the warnings of column names
sample.output1 <- InterVA5(RandomVA5, HIV = "h", Malaria = "l",
write = FALSE, directory = tempdir(), filename = "VA5_result",
output = "extended", append = FALSE)
summary(sample.output1)
summary(sample.output1, top = 10)
summary(sample.output1, id = "sample3")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.