Re: [R] ForestPlot or similar

2010-11-02 Thread Mestat
Thanks Matt, I am having a problem now to use this function. The function separately works fine. But the problem is that I am working with a simulation, so i placed the CREDPLOT function in my program and added the following commands according my data: #MY DATA, ESTIMATES, LOWER AND UPPER

Re: [R] ForestPlot or similar

2010-11-02 Thread Abhijit Dasgupta
You need to use a print statement print(forestplot()) Lattice and ggplot2 need to be explicitly printed to get output into jpeg. I believe Matt's function only provides the graphics object and not the printed version. Abhijit On 11/2/2010 4:32 PM, Mestat wrote: Thanks Matt, I am having

[R] ForestPlot or similar

2010-10-30 Thread Mestat
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:

Re: [R] ForestPlot or similar

2010-10-30 Thread Mestat
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)

Re: [R] ForestPlot or similar

2010-10-30 Thread Matt Shotwell
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