Usage
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"), ...)
Arguments
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 TRUE
). If medians = FALSE
, the medians
are not plotted.
col
an optional vector of colors to be passed to
plot
and segments
. If col
is of
length two, then the first color is used for plot
and the
second for segments
.
ylim
an optional range for the y-axis (defaults to c(0,1)
).
ylab
an optional label for the y-axis (defaults to
Proportion of row in column
).
lty
an optional line type passed to segments
.
lwd
an optional line width argument passed to
segments
.
...
additional arguments passed to plot
.