# NOT RUN {
group=sample(c(1,2),100,replace=TRUE)
height=rnorm(100,mean=group)
par(mfrow=c(2,2))
verboseBarplot(height,group, main="1 SE, Kruskal Test")
verboseBarplot(height,group,numberStandardErrors=2,
main="2 SE, Kruskal Test")
verboseBarplot(height,group,numberStandardErrors=2,AnovaTest=TRUE,
main="2 SE, Anova")
verboseBarplot(height,group,numberStandardErrors=2,AnovaTest=TRUE,
main="2 SE, Anova, only plus SE", two.sided=FALSE)
# }
Run the code above in your browser using DataLab