Displaying 3 results from an estimated 3 matches for "ebar".
Did you mean:
bar
2009 Aug 11
3
Lattice: How to do error bars
I am trying to add 2 stdev error bars to lattice type plots:
panel.ebar<-function(x,y,dy=NULL,...) {
panel.xyplot(x,y,...)
panel.segments(x,y-dy,x,y+dy,...)
}
Then:
xyplot(y~x|fc,data=dat,dy=dat$dy,panel=panel.ebar)
This adds error bars but they are not conditioned on the factor fc.
xyplot(y+I(y-dy)+I(y+dy)~x|fc,data=dat)
This produces 3 series of points in d...
2002 Jun 17
3
Error bars.
There was an inquiry on this list recently about plotting some simple
error bars on a graph. Now Splus has a function (error.bar ---
originally written by Sue Clancy of DMS, CSIRO, I believe) to do this
job virtually at the touch of a key. (Well a few keys. :-) ) The
error.bar function is written completely in raw S --- no calls to
``.Internal'' or anything like that. So it would be
2002 Jun 20
6
Legality of copying from Splus.
A few days ago, I sent a question to the r-help list enquiring
about the
*** LEGALITY ***
of porting a function from Splus into R. As a particular example,
I referred to error.bar.
Several people posted code for various versions of error.bar which
they had written, but that was NOT WHAT I WAS ASKING FOR/ABOUT!!!
[Can't anybody ***read*** these days?]
I asked: IS IT