bpplot2 {GCDkit} | R Documentation |
Displays statistical distribution each of the variables in a data frame using a box-percentile plot (Esty & Banfield 2003).
bpplot2(x,main="Box-Percentile Plot",sub="",xlab = "", ylab="",log="y",col="lightgray",horizontal=FALSE,ylim = NULL,axes=TRUE,...)
x |
data frame with the data to be plotted |
main |
main title for the plot |
sub |
sub title for the plot |
xlab |
label for x axis |
ylab |
label for y axis |
log |
which of the axes is to be logarithmic? |
col |
colour to fill the boxes |
horizontal |
logical, should be the orientation horizontal? |
ylim |
optional; limits for the y axis |
axes |
logical; should be the axis drawn? |
... |
additional plotting parameters |
The box-percentile plot is analogous to a boxplot
but the width of
the box is variable, mimicking the distribution of the given variable.
As in boxplots, the median and two quartiles are marked by horizontal lines.
None.
This function IS NOT Figaro-compatible. It means that the set of diagrams cannot be further edited in GCDkit (e.g. tools in "Plot editing" menu are inactive).
The code represents a modified function 'bpplot'
from the package 'Hmisc'
by Frank E Harrell Jr. (originally designed by Jeffrey Banfield). Adopted for
GCDkit by Vojtech Janousek, vojtech.janousek@geology.cz.
Esty, W. W. & Banfield, J. D. (2003). The Box-Percentile Plot. Journal of Statistical Software 8 (17)