Displaying 1 result from an estimated 1 matches for "unitname_1".
Did you mean:
unitname
2013 Apr 26
2
sample size in box plot labels
Hi,
I would like to put the sample number beside each lable in a boxplot.
How do I do this? Essentially, I need to count the sample size for each
factor, see below:
Thanks
boxplot(DATA$K_Merge~factor(DATA$UnitName_1),axes=FALSE,col=colours)
title(main=list("Tukey Boxplot by Geology:\n K(%)",cex=cexlb))
axis(1, 1:21, labels=FALSE, las=2)
text(seq(1, 21, by=1), par("usr")[3], labels =
levels(factor(DATA$UnitName_1)), srt = 45, adj = c(1.03,1.03), xpd = TRUE,
cex=1.8)
axis(2, seq(-1,5, 1), se...