Plot a boxplot annotated by the Kruskal-Wallis p-value. Uses the function boxplot
for the actual drawing.
verboseBoxplot(x, g, main = "", xlab = NA, ylab = NA,
cex = 1, cex.axis = 1.5, cex.lab = 1.5, cex.main = 1.5,
notch = TRUE, varwidth = TRUE, ...)
numerical vector of data whose group means are to be plotted
a factor or a an object coercible to a factor giving the groups that will go into each box.
main title for the plot.
label for the x-axis.
label for the y-axis.
character expansion factor for plot annotations.
character expansion factor for axis annotations.
character expansion factor for axis labels.
character expansion factor for the main title.
logical: should the notches be drawn? See boxplot
and
boxplot.stats
for details.
logical: if TRUE
, the boxes are drawn with widths
proportional to the square-roots of the number of
observations in the groups.
other arguments to the function boxplot
. Of note is the argument las
that specifies label orientation. Value las=1
will result in horizontal labels (the default), while
las=2
will result in vertical labels, useful when the labels are long.
Returns the value returned by the function boxplot
.