print.insilico_summary: Print method for summarizing InSilicoVA Model Fits

Description Usage Arguments Author(s) References See Also Examples

View source: R/print_insilico_summary.r

Description

This function is the print method for class insilico_summary.

Usage

1
2
## S3 method for class 'insilico_summary'
print(x, ...)

Arguments

x

insilico_summary object.

...

not used

Author(s)

Zehang Li, Tyler McCormick, Sam Clark

Maintainer: Zehang Li <[email protected]>

References

Tyler H. McCormick, Zehang R. Li, Clara Calvert, Amelia C. Crampin, Kathleen Kahn and Samuel J. Clark Probabilistic cause-of-death assignment using verbal autopsies, arXiv preprint arXiv:1411.3042 http://arxiv.org/abs/1411.3042 (2014)

See Also

summary.insilico

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
## Not run: 
# load sample data together with sub-population list
data(RandomVA1)
# extract InterVA style input data
data <- RandomVA1$data
# extract sub-population information. 
# The groups are "HIV Positive", "HIV Negative" and "HIV status unknown".
subpop <- RandomVA1$subpop

# run without subpopulation
fit1<- insilico( data, subpop = NULL, 
              Nsim = 400, burnin = 200, thin = 10 , seed = 1,
              external.sep = TRUE, keepProbbase.level = TRUE)
summary(fit1)
summary(fit1, top = 10)

# save individual COD distributions to files
summary(fit1, file = "results.csv")

## End(Not run)

InSilicoVA documentation built on Sept. 21, 2018, 6:27 p.m.