Usage
## S3 method for class 'mandel.kh':
barplot(height, probs = c(0.95, 0.99), main,
xlab = attr(height, "grouped.by"),
ylab = attr(height, "mandel.type"), separators = TRUE,
zero.line = TRUE, ylim, p.adjust = "none",
frame.plot = TRUE, ...,
col.ind = 1, lty.ind = c(2, 1), lwd.ind = 1,
col.sep = "lightgrey", lwd.sep = 1, lty.sep = 1,
lwd.zero = 1, col.zero = 1, lty.zero = 1)
Arguments
height
An object of class 'mandel.kh'
(the name is for consistency
with barplot
).
probs
Indicator lines are drawn for these probabilities. Note that
probs
is interpreted as specifying two-tailed probabilities
for Mandel's h and one-sided (upper tail) probabilities for
Mandel's k.
main
a main title for the plot. If missing, the default is
paste(deparse(substitute(x)), "- Mandel's",
attr(x, "mandel.type"),
if(attr(x, "mandel.method") == "robust") "(Robust variant)")
xlab
a label for the x axis; defaults to the grouped.by
attribute for
x
.
ylab
a label for the x axis; defaults to the mandel.type
attribute for
x
.
separators
Logical; if TRUE
, separator lines are drawn between groups of values.
zero.line
logical; if TRUE
a horizontal line is drawn at zero.
ylim
the y limits of the plot. For Mandel's k, the default lower limit is zero.
p.adjust
Correction method for probabilities. If not "none"
, passed to p.adjust
prior to calculating indicator lines. Usually, indicator lines are drawn without
correction (that is, with p.adjust="none"
); specifying a p-
frame.plot
Logical; If TRUE
a box is drawn around the plot.
...
Other (usually graphical) parameters passed to barplot
. Note that some
parameters appear after ...to prevent spurious argument matching inside
barplot.default
.
col.ind, lty.ind, lwd.ind
Graphical parameters used for the indicator lines, recyckled to length(probs)
.
For attr(x, "mandel.type")=="h"
the graphical parameters are applied to negative
as well as positive indicator lines, applied outwards from zero.
col.sep, lwd.sep, lty.sep
Graphical parameters used for the separator lines.
lwd.zero, col.zero, lty.zero
Graphical parameters used for the zero line.