plot.eb: Plot Method for EpiBayes Output

Description Usage Arguments Value

View source: R/plot.eb.R

Description

This method plots the output of the function EpiBayes_ns and EpiBayes_s. It does so by plotting the posterior distribution(s) of the cluster-level prevalence(s).

Usage

1
2
## S3 method for class 'eb'
plot(x, burnin = NULL, ...)

Arguments

x

An object of class eb (e.g., the output of functions EpiBayes_ns or link{EpiBayes_s}).

burnin

Number of MCMC iterations to discard from the beginning of the chain. Integer scalar.

...

Additional arguments to be passed to plot.

Value

One plotting window for each subzone including posterior distributions for the cluster-level prevalence across all time periods.


EpiBayes documentation built on May 30, 2017, 4:01 a.m.