Re: [R] Error Bars ggplot2

2012-07-27 Thread ONKELINX, Thierry
is not data. ~ Roger Brinner The combination of some data and an aching desire for an answer does not ensure that a reasonable answer can be extracted from a given body of data. ~ John Tukey -Oorspronkelijk bericht- Van: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] Na

Re: [R] Error Bars ggplot2

2012-07-26 Thread Adam Gabbert
Hi Dennis, Part of my problem could be that I'm unsure how to nest another variable withn spd.f. Perhaps if I give a better explanation of my goal things will make more sense. My intent is to calculate two sets of confidence intervals to show the benefits of a DOE approach versus a Non-DOE appro

Re: [R] Error Bars ggplot2

2012-07-26 Thread John Kane
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