Dietlinde Schmidt
2014-Jul-03 13:07 UTC
[R] metafor package: changing decimal in forest plot to midline decimal
Dear R-Community, I need to change the punctuation of the reported weights, effect sizes and confidence intervals in a forest plot created with the forest()-function in the metafor-package. Midline decimal means that it looks like this (23?6) rather than that (23.6). Do I need to change the forest()-function and if yes which part exactly? Or is there an otherway how I can do it maybe by changing the rma()-function, of which the forest()-function is then applied to? Thanks for any hints and tipps! Cheers, Linde
Viechtbauer Wolfgang (STAT)
2014-Jul-05 17:06 UTC
[R] metafor package: changing decimal in forest plot to midline decimal
I found this: https://stat.ethz.ch/pipermail/r-help/2012-August/321057.html So, use this before drawing the forest plot: options(OutDec="\xB7") Best, Wolfgang -- Wolfgang Viechtbauer, Ph.D., Statistician Department of Psychiatry and Psychology School for Mental Health and Neuroscience Faculty of Health, Medicine, and Life Sciences Maastricht University, P.O. Box 616 (VIJV1) 6200 MD Maastricht, The Netherlands +31 (43) 388-4170 | http://www.wvbauer.com ________________________________________ From: r-help-bounces at r-project.org [r-help-bounces at r-project.org] On Behalf Of Dietlinde Schmidt [schmidt.dietlinde at web.de] Sent: Thursday, July 03, 2014 3:07 PM To: r-help at r-project.org Subject: [R] metafor package: changing decimal in forest plot to midline decimal Dear R-Community, I need to change the punctuation of the reported weights, effect sizes and confidence intervals in a forest plot created with the forest()-function in the metafor-package. Midline decimal means that it looks like this (23?6) rather than that (23.6). Do I need to change the forest()-function and if yes which part exactly? Or is there an otherway how I can do it maybe by changing the rma()-function, of which the forest()-function is then applied to? Thanks for any hints and tipps! Cheers, Linde ______________________________________________ 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.