plot.atwins {surveillance} | R Documentation |
Plots for Fitted algo.twins
Models
Description
Plot results of fitting a twins model using MCMC output. Plots similar to those in the Held et al. (2006) paper are generated.
Usage
## S3 method for class 'atwins'
plot(x, which=c(1,4,6,7), ask=TRUE, ...)
Arguments
x |
An object of class |
which |
a vector containing the different plot types to show
|
ask |
Boolean indicating whether to ask for a newline before showing the next plot (only if multiple are shown). |
... |
Additional arguments for |
Details
For details see the plots in the paper. Basically MCMC output is
visualized. This function is experimental, as is algo.twins
.
Author(s)
M. Hofmann and M. Höhle
References
Held, L., Hofmann, M., Höhle, M. and Schmid V. (2006) A two-component model for counts of infectious diseases, Biostatistics, 7, pp. 422–437.
See Also
algo.twins
(with an example)