[R] Forest Plot
Viechtbauer Wolfgang (STAT)
Wolfgang.Viechtbauer at STAT.unimaas.nl
Sun Dec 6 00:21:02 CET 2009
The figure that you linked to was produced with the "metafor" package. It can also be used to produce a forest plot if you have means and corresponding standard errors of the means. The standard error of a mean is equal to SD / sqrt(n), so as long as you also know the sample sizes (n), you can convert those standard deviations to the standard errors.
Best,
--
Wolfgang Viechtbauer http://www.wvbauer.com/
Department of Methodology and Statistics Tel: +31 (0)43 388-2277
School for Public Health and Primary Care Office Location:
Maastricht University, P.O. Box 616 Room B2.01 (second floor)
6200 MD Maastricht, The Netherlands Debyeplein 1 (Randwyck)
________________________________________
From: r-help-bounces at r-project.org [r-help-bounces at r-project.org] On Behalf Of Xin Ge [xingemaillist at gmail.com]
Sent: Sunday, December 06, 2009 12:11 AM
To: r-help at r-project.org
Subject: [R] Forest Plot
Hi All,
I want to produce a similar "Forest Plot" as it is on the following link,
but my data would be having only two columns (one for "Estimate" and other
for "Std. Dev"). Can anyone suggest some function() {Package} which can take
such file as an input and give following forest plot:
http://bm2.genes.nig.ac.jp/RGM2/R_current/library/metafor/man/images/big_plot.rma.uni_001.png
Thanks,
Xin
[[alternative HTML version deleted]]
______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list