[R] bargraph.ci - CI and color question.

Michael Just mgjust at gmail.com
Tue Nov 3 10:51:28 CET 2009


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?

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?

Thank you kindly,
Michael Just




More information about the R-help mailing list