[R] ForestPlot or similar

Mestat mestat at pop.com.br
Sat Oct 30 17:40:03 CEST 2010


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.



More information about the R-help mailing list