Learn R Programming

EpiBayes (version 0.1.2)

plot.eb: Plot Method for EpiBayes Output

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

"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.