cover.plot | R Documentation |
Generates a plot of central credible intervals for the
unit-level beta parameters from the Multinomial-Dirichlet ecological inference model
(see ei.MD.bayes
).
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"), ...)
object |
output from |
row |
a character string specifying the row marginal of interest |
column |
a character string specifying the column marginal of interest |
x |
an optional covariate to index the units along the x-axis |
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 |
medians |
a logical value specifying whether to plot the median
(defaults to |
col |
an optional vector of colors to be passed to
|
ylim |
an optional range for the y-axis (defaults to |
ylab |
an optional label for the y-axis (defaults to
|
lty |
an optional line type passed to |
lwd |
an optional line width argument passed to
|
... |
additional arguments passed to |
A plot with vertical intervals indicating the central credible intervals for each ecological unit.
Olivia Lau <olivia.lau@post.harvard.edu>
plot
, segments
, par
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.