Skip to content
Prev 139273 / 398506 Next

hello! i need help for a specific graphic issue

On Wed, Mar 12, 2008 at 5:37 AM, Giacomo Prodi <bonoricus at yahoo.it> wrote:
This is a bit easier to do with ggplot2:

df <- data.frame(
  trt = factor(c("a", "b", "c")),
  mean = c(4,6,8),
  se = c(0.1,0.3,0.5)
)

install.packages("ggplot2")
library(ggplot2)

qplot(trt, mean, data=df)
qplot(trt, mean, data=df, min=mean - se, max = mean + se, geom="pointrange")

Hadley