Greetings I have encountered a situation with regards to plotting barcharts with associated error bars. My search for clues on how to accomplish this turned up some interesting information. Basically, I found that including error bars with barplots is not desirable and hence there appears that there is no function to do this. Can someone offer suggestions on how to do this simple procedure or offer an alternative? Thanks Steve Steve Friedman Ph. D. Spatial Statistical Analyst Everglades and Dry Tortugas National Park 950 N Krome Ave (3rd Floor) Homestead, Florida 33034 Steve_Friedman at nps.gov Office (305) 224 - 4282 Fax (305) 224 - 4147
<Steve_Friedman <at> nps.gov> writes:> Basically, I found that including > error bars with barplots is not desirable and hence there appears that > there is no function to do this. >>Can someone offer suggestions on how to do this simple procedurehttp://markmail.org/message/3f6jaztq2cpezrkl>or offer an alternative?dotplot or plotCI (points with confidence intervals) Dieter
Check out ggplot2: http://had.co.nz/ggplot2/ Particularly the book: http://had.co.nz/ggplot2/book For error bars on bar plots specifically: http://had.co.nz/ggplot2/geom_errorbar.html Mike On Wed, May 6, 2009 at 12:34 PM, <Steve_Friedman at nps.gov> wrote:> > Greetings > > I have encountered a situation with regards to plotting barcharts with > associated error bars. ?My search for clues on how to accomplish this > turned up some interesting information. ?Basically, I found that including > error bars with barplots is not desirable and hence there appears that > there is no function to do this. > > Can someone offer suggestions on how to do this simple procedure or offer > an alternative? > > Thanks > Steve > > Steve Friedman Ph. D. > Spatial Statistical Analyst > Everglades and Dry Tortugas National Park > 950 N Krome Ave (3rd Floor) > Homestead, Florida 33034 > > Steve_Friedman at nps.gov > Office (305) 224 - 4282 > Fax ? ? (305) 224 - 4147 > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >-- Mike Lawrence Graduate Student Department of Psychology Dalhousie University Looking to arrange a meeting? Check my public calendar: http://tr.im/mikes_public_calendar ~ Certainty is folly... I think. ~
Steve_Friedman at nps.gov wrote> >I have encountered a situation with regards to plotting barcharts with >associated error bars. My search for clues on how to accomplish this >turned up some interesting information. Basically, I found that including >error bars with barplots is not desirable and hence there appears that >there is no function to do this. > >Can someone offer suggestions on how to do this simple procedure or offer >an alternative?Good for finding that out! If N is large, then I suggest a box plot, if N is not too large, then what R calls a stripchart HTH Peter Peter L. Flom, PhD Statistical Consultant www DOT peterflomconsulting DOT com