summary.interVA5: Summary of the results obtained from InterVA5 algorithm

Description Usage Arguments References Examples

View source: R/InterVA5.summary.R

Description

This function prints the summary message of the fitted results.

Usage

1
2
## S3 method for class 'interVA5'
summary(object, top = 5, id = NULL, InterVA.rule = TRUE, ...)

Arguments

object

fitted object from InterVA5()

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

References

http://www.interva.net/

Examples

 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)

InterVA5 documentation built on July 21, 2021, 5:06 p.m.