Plot Boxes
plotBoxes.Rd
Provides a boxplot for each group or variable.
Usage
# S3 method for data.frame
plotBoxes(frame, add=FALSE, main=NULL, ylab="Outcome", xlab="", ylim=NULL, offset=0, scale=.8, border="black", col=rgb(0, 0, 0, 0), values=TRUE)
# S3 method for formula
plotBoxes(formula, add=FALSE, main=NULL, ylab="Outcome", xlab="", ylim=NULL, offset=0, scale=.8, border="black", col=rgb(0, 0, 0, 0), values=TRUE)
Arguments
- frame
a set of (non-empty) numeric vectors of data values
- formula
a formula of the form
lhs ~ rhs
wherelhs
is a numeric variable giving the data values andrhs
a factor giving the corresponding groups- add
whether the plot should added to the existing plot
- ylab
a label for the y-axis
- xlab
a label for the x-axis
- main
a custom title for the graph
- ylim
custom limits for the y axis
- offset
a value indicating the offset of the boxplot
- scale
a value that indicates the width of the boxplot
- col
a value for the shaded color of the boxplot
- border
a value for the border color of the boxplot
- values
whether the values should be added to the boxplot
- digits
the specified number of decimal places