Hi listers, I am trying to plot some confidence intervals. The function FORESTPLOT, would work, but I need something more simple. I dont need to define the text labels. Is there another function that I can plot some confidence intervals. Thanks in advance, Marcio -- View this message in context: http://r.789695.n4.nabble.com/ForestPlot-or-similar-tp3020374p3020374.html Sent from the R help mailing list archive at Nabble.com.
Here is one example: I have three vectors (mean,lower interval, upper interval) mean<-c(2,4,6,8) l<-c(1,2,3,4) u<-c(4,8,12,16) How would I plot that if I want to use the FORESTPLOT function. I dont need to use the TABLETEXT option. I am working in something like this: tabletext<-c(NA,NA,NA,NA,NA) mean<-c(NA,2,4,6,8) l<-c(NA,1,2,3,4) u<-c(NA,4,8,12,16) forestplot(tabletext,mean,l,u,zero=0) But I am having a problem with the length of the dimension... Thanks in advance, Marcio -- View this message in context: http://r.789695.n4.nabble.com/ForestPlot-or-similar-tp3020374p3020394.html Sent from the R help mailing list archive at Nabble.com.
Here is a small function for forest plots in R, with an example: http://biostatmatt.com/wiki/r-credplot -Matt On Sat, 2010-10-30 at 11:40 -0400, Mestat wrote:> Here is one example: > I have three vectors (mean,lower interval, upper interval) > mean<-c(2,4,6,8) > l<-c(1,2,3,4) > u<-c(4,8,12,16) > How would I plot that if I want to use the FORESTPLOT function. I dont need > to use the TABLETEXT option. > I am working in something like this: > tabletext<-c(NA,NA,NA,NA,NA) > mean<-c(NA,2,4,6,8) > l<-c(NA,1,2,3,4) > u<-c(NA,4,8,12,16) > forestplot(tabletext,mean,l,u,zero=0) > But I am having a problem with the length of the dimension... > Thanks in advance, > Marcio >-- Matthew S. Shotwell Graduate Student Division of Biostatistics and Epidemiology Medical University of South Carolina