Skip to content
Prev 76528 / 398502 Next

standard deviation in barplots

On Thu, 2005-09-01 at 15:00 +0200, Knut Krueger wrote:
Presumably, you are getting:
Error in barplot2.default(xrow, plot.ci = TRUE, ci.l = ci.l, ci.h =
ci.h) : 
	confidence interval values are missing



There is an error in your function call. The argument 'ci.h' is
incorrect, as it should be 'ci.u'. Thus, use:


ci.l <- c(304.09677, 202.49907, 0.00000, 63.14547,
          0.00000, 0.00000, 0.00000, 0.00000,
          0.00000, 0.00000)

ci.u <- c(633.50323, 426.10093, 45.12493, 344.85453,
          196.19980, 198.17632, 208.96365, 76.49691,
          0.00000, 0.00000)

xrow <- c(468.8, 314.3, 20.1, 204.0, 96.0, 96.0,
          115.0, 36.0, 0.0, 0.0)

barplot2(xrow, plot.ci = TRUE, ci.l = ci.l, ci.u = ci.u)


HTH,

Marc Schwartz