txtboxplot {txtplot} | R Documentation |
Text based boxplot
Description
Produces rudimentary ascii boxplots. The boxplot statistics are produced
using the boxplot.stats
function.
Usage
txtboxplot(..., range = 1.5, legend = NULL, xlab = NULL,
width = round(options()$width * 0.8))
Arguments
... |
Numeric vectors for which a boxplot should be produced |
range |
This determines how far the plot whiskers extend out from the
box. See |
legend |
Logical determining whether a legend should be drawn. If
|
xlab |
label for x-axis of boxplot, if NULL no x-label will be plotted |
width |
Width of the plot |
Note
Due to rounding to a relatively crude grid results can only be approximate. E.g. the equally spaced axis ticks may be non-equally spaced in the plot.
Author(s)
Bjoern Bornkamp
See Also
Examples
rand1 <- rnorm(100, 1, 2)
rand2 <- rnorm(50, 2, 2)
rand3 <- rnorm(50, 2, 5)
txtboxplot(rand1)
txtboxplot(rand1, rand2, rand3)
[Package txtplot version 1.0-4 Index]