Displaying 6 results from an estimated 6 matches for "cilower".
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"),plot.points = T...
2009 Nov 27
2
layers in xYplot of Hmisc
...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, method="fille...
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
2009 Nov 20
1
Hmisc and Lattice question on gridlines
...ons 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 version deleted]]
2011 Aug 22
0
Multiple forest plots with the same x-axis and colour coded estimates and lines
...quot;,"CBZ"),c("75","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...
2013 Jan 05
3
package metafor: error when setting 'col' and 'at' for a forest plot
I am using metafor to create forest plots. This code gives me the expected
plot (setting x axis tick marks):
forest(forest$OR, ci.lb=forest$Low, ci.ub=forest$High, at=log(c(.05, .25,
1, 10)), slab=forest$SNP, atransf=exp)
As does this (setting colors):
forest(forest$OR, ci.lb=forest$Low, ci.ub=forest$High, col=c(1,2,3),
slab=forest$SNP, atransf=exp)
But if I try to set both 'at' and