Re: [R] SOLVED: Lattice: How to do error bars

2009-08-13 Thread Deepayan Sarkar
On Wed, Aug 12, 2009 at 7:19 AM, am...@xs4all.nl wrote: Thank you Gerrit, Your suggestion proved right after all: This does put error bars (dy) on the points. You only need to figure out the proper y axis scaling. xyplot(y~x|f,data=xy,groups=dy,panel=function(x,y,groups,subscripts,...)

[R] SOLVED: Lattice: How to do error bars

2009-08-12 Thread amvds
Thank you Gerrit, Your suggestion proved right after all: This does put error bars (dy) on the points. You only need to figure out the proper y axis scaling. xyplot(y~x|f,data=xy,groups=dy,panel=function(x,y,groups,subscripts,...) {panel.xyplot(x,y,...)