summary.interVA: Summary of the results obtained from InterVA4 algorithm

Description Usage Arguments References Examples

View source: R/InterVA.summary.r

Description

This function prints the summary message of the fitted results.

Usage

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

Arguments

object

fitted object from InterVA()

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 InterVA4 is calculated into CSMF as in InterVA4. 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
data(SampleInput)
## to get easy-to-read version of causes of death make sure the column
## orders match interVA4 standard input this can be monitored by checking
## the warnings of column names

sample.output1 <- InterVA(SampleInput, HIV = "h", Malaria = "l", write=FALSE, replicate = FALSE)

summary(sample.output1)
summary(sample.output1, top = 10)
summary(sample.output1, id = "100532")

InterVA4 documentation built on Nov. 13, 2019, 9:06 a.m.