\HeaderA{cover.plot}{Unit-level coverage plots for beta parameters from MD EI model}{cover.plot}
\aliasA{coverage}{cover.plot}{coverage}
\keyword{hplot}{cover.plot}
\begin{Description}\relax
Generates a plot of central credible intervals for the
unit-level beta parameters from the Multinomial-Dirichlet ecological inference model
(see \code{\LinkA{ei.MD.bayes}{ei.MD.bayes}}).
\end{Description}
\begin{Usage}
\begin{verbatim}
cover.plot(object, row, column, x = NULL, CI = 0.95,
          medians = TRUE, col = NULL, ylim = c(0,1), 
          ylab, lty = par("lty"), lwd = par("lwd"), ...) 
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{object}] output from \code{\LinkA{ei.MD.bayes}{ei.MD.bayes}}
\item[\code{row}] a character string specifying the row marginal of interest
\item[\code{column}] a character string specifying the column marginal of
interest
\item[\code{x}] an optional covariate to index the units along the x-axis
\item[\code{CI}] a fraction between 0 and 1 (defaults to 0.95), specifying
the coverage of the central credible interval to be plotted for each unit
\item[\code{medians}] a logical value specifying whether to plot the median
(defaults to \code{TRUE}).  If \code{medians = FALSE}, the medians
are not plotted.
\item[\code{col}] an optional vector of colors to be passed to
\code{plot} and \code{segments}.  If \code{col} is of
length two, then the first color is used for \code{plot} and the
second for \code{segments}.
\item[\code{ylim}] an optional range for the y-axis (defaults to \code{c(0,1)}).
\item[\code{ylab}] an optional label for the y-axis (defaults to
\code{Proportion of row in column}).
\item[\code{lty}] an optional line type passed to \code{segments}.
\item[\code{lwd}] an optional line width argument passed to
\code{segments}.
\item[\code{...}] additional arguments passed to \code{plot}.
\end{ldescription}
\end{Arguments}
\begin{Value}
A plot with vertical intervals indicating the central credible
intervals for each ecological unit.
\end{Value}
\begin{Author}\relax
Olivia Lau \textless{}\email{olivia.lau@post.harvard.edu}\textgreater{}
\end{Author}
\begin{SeeAlso}\relax
\code{plot}, \code{segments}, \code{par}
\end{SeeAlso}

