Skip to content
Prev 301370 / 398506 Next

Error Bars ggplot2

Is this what you mean?
dat1  <- data.frame( spd = c("s","f","f","s","f","s","s","s","f","f","s","f"),
                r = c(4.9,3.2,2.1,.2,3.8,6.4,7.5,1.7,3.4,4.1,2.2,5))

myplot<-ggplot(dat1, aes(spd, r, colour = spd)) +
  geom_errorbar(aes(ymin=3, ymax=5), width=.1) +
  geom_point()  + coord_flip()

John Kane
Kingston ON Canada
____________________________________________________________
GET FREE 5GB EMAIL - Check out spam free email with many cool features!
Visit http://www.inbox.com/email to find out more!