Re: [R] layers in xYplot of Hmisc

2009-11-27 Thread David Winsemius
I took the OP's variables, reversed the "direction" of the second y, bundled them up in a dataframe and then assigned the grp. So starting with the OP's code: x<-seq(1,10,1) y<-seq(1,10,1) ci<-y*.10 ciupper<-y+ci cilower<-y-ci x2<-seq(1,5,.5) y2<-seq(5, 1, -.5) #reverse second variable ci2<-

Re: [R] layers in xYplot of Hmisc

2009-11-27 Thread butter
do you mind me asking what code you used to create that data frame and name the groups 1 and 2? David Winsemius wrote: > > > On Nov 26, 2009, at 10:26 PM, Joe King wrote: > >> In the "filled bands" part of xYplot of the Hmisc package, is there >> a way to >> have multiple bands with multiple

Re: [R] layers in xYplot of Hmisc

2009-11-26 Thread David Winsemius
On Nov 26, 2009, at 10:26 PM, Joe King wrote: In the "filled bands" part of xYplot of the Hmisc package, is there a way to have multiple bands with multiple lines? or does it just allow one for now? No problem as long as you use groups... which means you probably ought to be providing a