bargraph.ci - CI and color question.
On Tue, 2009-11-03 at 03:51 -0600, Michael Just wrote:
Hello, When using bargraph.CI in package sciplot can the bars for each group be different colors? How do I select the color for each group?
With the option err.col
bargraph.CI(dose, len, group = supp, data =ToothGrowth,
err.col=c("gray","black"))
When I use this instead of the default (SD vs SE):
bargraph.CI(x.factor = dose, response = len, data = ToothGrowth,
ci.fun= function(x) c(mean(x)-sd(x), mean(x) + sd(x)) )
Am I getting 95% CI bars?
No. You're plotting +/- 1 SD.
Thank you kindly, Michael Just
______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.