search for: ciupper

Displaying 5 results from an estimated 5 matches for "ciupper".

2009 Dec 15
2
subtitle in Hmisc xYplot
Ok so I am trying to add a subtitle to my xYplot using Hmisc and I have some dummy code of x<-seq(1,10,1) y<-rev(seq(1,10,1)) ci<-y*.10 ciupper<-y+ci cilower<-y-ci this code works fine: xYplot(Cbind(y,ciupper,cilower)~x, type=c("b"),plot.points = TRUE, method='filled bands', main='main title') but when I add sub=. at the end and use this xYplot(Cbind(y,ciupper,cilower)~x, type=c("b&quot...
2009 Nov 27
2
layers in xYplot of Hmisc
...is there a way to have multiple bands with multiple lines? or does it just allow one for now? So I had an example bit ago had a made up line and CI, now if I wanted to make a second line with a CI filled in can I put them on the same plot? x<-seq(1,10,1) y<-seq(1,10,1) ci<-y*.10 ciupper<-y+ci cilower<-y-ci xYplot(Cbind(y,cilower,ciupper)~x, method="filled bands", col.fill="light grey", type=c("b")) x2<-seq(1,5,.5) y2<-seq(1,5,.5) ci2<-y2*.10 ciupper2<-y2+ci2 cilower2<-y2-ci2 xYplot(Cbind(y2,cilower2,ciupper2)~x2,...
2009 Nov 20
1
Hmisc and Lattice question on gridlines
...t the panel functions but when I try it I get the gridlines but my data is gone. So a simple example is below. I want to create the reference lines in the lattice plot in the xYplot from Hmisc so I can keep the confidence intervals filled. x<-seq(1,10,1) y<-seq(1,10,1) ci<-y*.10 ciupper<-y+ci cilower<-y-ci xyplot(y~x, type=c("b","g"),plot.points = TRUE)#using lattice xYplot(Cbind(y,cilower,ciupper)~x,col.fill="grey",plot.points = TRUE,type=c("b"),method="filled bands")#using Hmisc JOE [[alternative HTML ver...
2011 Aug 22
0
Multiple forest plots with the same x-axis and colour coded estimates and lines
..."F","10","CBZ"), c("75","M","10","LTG"),c("75","F","10","LTG")) # 1 year results estimate1y <- c(NA,dattabrem1$HR) lowerd1y <- c(NA,dattabrem1$CIlower) upperd1y <- c(NA,dattabrem1$CIupper) # 2 year results estimate2y <- c(NA,dattabrem2$HR) lowerd2y <- c(NA,dattabrem2$CIlower) upperd2y <- c(NA,dattabrem2$CIupper) # 3 year results estimate3y <- c(NA,dattabrem3$HR) lowerd3y <- c(NA,dattabrem3$CIlower) upperd3y <- c(NA,dattabrem3$CIupper) # Draw forest plots forestplo...
2012 Oct 10
7
multiple t-tests across similar variable names
Hi everyone- I have a dataset with multiple "pre" and "post" variables I want to compare. The variables are named "apple_pre" or "pre_banana" with the corresponding post variables named "apple_post" or "post_banana". The variables are in no particular order. apple_pre orange_pre orange_post pre_banana apple_post post_banana person_1