[R] error bars in line plots

juli g. pausas juli at ceam.es
Mon Oct 7 10:03:07 CEST 2002


barsd <- function(barmatrix, sdmatrix, ...)
{
 r <- barplot(barmatrix, beside= T, ...)
 if(!missing(sdmatrix)) arrows(r, barmatrix, r, barmatrix+sdmatrix,
length= 0.05, angle=90)
}



> Date: 06 Oct 2002 00:09:28 -0400
> From: Myriam Abramson
> Subject: [R] error bars in line plots
>
> Hi!
>
> Could you tell me how I can draw a graph with error bars?
> Sorry, I don't use R that often and I couldn't find it easily in the
> documentation.
>
> TIA
>




-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list