[R] barplot with errorbars

William Revelle lists at revelle.net
Thu Feb 17 22:08:03 CET 2011


As the FAQ 
(http://cran.r-project.org/doc/FAQ/R-FAQ.html#How-can-I-put-error-bars-or-confidence-bands-on-my-plot_003) 
says,
there are about 5 different packages that will draw error bars.



At 2:38 PM -0600 2/17/11, Aldi Kraja wrote:
>Hi Toby and Maria,
>
>I did a check on Toby's suggestion and it is not there:
>
>R version 2.12.1 (2010-12-16)
>  > ??barploterrbar
>No help files found with alias or concept or title matching
>'barploterrbar' using fuzzy matching.
>
>Also I went to the following location which does not exist.
>http://www.dkfz.de/abt0840/whuber
>
>To Maria: here is a suggestion: to do the barplot with confidence
>intervals / errorbars:
>
>look at the following R news under www.r-project.org
>"An introduction to using R's base graphics." (see following citation)
>on page 4 you will find explanations and code how to build bars with se.
>
>[62]	Marc Schwartz. R Help Desk: An introduction to using R's base
>graphics. /R News/, 3(2):2-6, October 2003. [ bib | http
><http://CRAN.R-project.org/doc/Rnews/> | .pdf
><http://CRAN.R-project.org/doc/Rnews/Rnews_2003-2.pdf> ]
>
>
>HTH,
>
>Aldi
>
>On 2/17/2011 10:08 AM, Toby Marthews wrote:
>>  If you google "barplot with error bars" you immediately find 
>>http://svitsrv25.epfl.ch/R-doc/library/prada/html/barploterrbar.html 
>>.
>>  Toby.
>>
>>  ________________________________________
>>  From: r-help-bounces at r-project.org [r-help-bounces at r-project.org] 
>>On Behalf Of Lathouri, Maria [m.lathouri06 at imperial.ac.uk]
>>  Sent: 17 February 2011 16:00
>>  To: r-help at r-project.org
>>  Subject: [R] barplot with errorbars
>>
>>  Dear all
>>
>>  I have six variables of the average metal concentrations
>>
>>  Var1 4.77
>>  Var2 23.5
>>  Var3 5.2
>>  Var4 12.3
>>  Var5 42.1
>>  Var6 121.2
>>
>>  I want to plot them as a barplot with error bars. Could you help me?
>>
>>  Cheers
>>  Maria
>>
>>
>>
>
>--
>
>
>
>	[[alternative HTML version deleted]]
>
>______________________________________________
>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.



More information about the R-help mailing list