bplot(y, x, bar.col = "gray", loc.meas = mean, order = FALSE, int = "SE",
conf = 0.95, uiw = NULL, liw = NULL, sfrac = 0.1, slty = 1, scol = 1,
slwd = 1, exp.fact = 1.5, simlett = FALSE, lett.side = 3, lett = NULL,
cex.lett = 1, names.arg = NULL, ylim = NULL, horiz = FALSE, ...)
TRUE
, then treatments are ordered by their location statistics."SE"
, "CI"
, IQR
, "MAD"
, or "IQR.CI"
. IQR-derived confidence intervals are based on +/-1.58 IQR/sqrt(n) and provNULL
then this will be computed from int
.NULL
then this will be computed from int
.simlett = TRUE
.y
.FALSE
, then bars are drawn vertically with the first bar to the left. If TRUE
, then bars are drawn horizontally with the first at the bottom.barplot
.barplot
.barplot
eggs<-c(11,17,16,14,15,12,10,15,19,11,23,20,18,17,27,33,22,26,28)
trt<-c(1,1,1,1,1,2,2,2,2,2,3,3,3,3,4,4,4,4,4)
bplot(y=eggs, x=factor(trt),int="SE",xlab="Treatment",ylab="Mean number of eggs",
simlett=TRUE, lett=c("b","b","b","a"))
Run the code above in your browser using DataLab