Skip to content

[R-meta] Formatting forest.rma for journal submission

4 messages · Wolfgang Viechtbauer, Gerta Ruecker, Dylan Johnson

#
Hello,

I managed to get the subgroup forest plots created in r. Overall I think they look good but I am having some issues with ?Example 3? (see attached). I would like this to look similar to ?Example 1? and ?Example 2?, but the text is too squashed down. There are many more effects included in this one, but I don?t know how to address this. Any recommendations?

Thanks!

Dylan


Dylan Johnson, MSc

MA Student, School and Clinical Child Psychology
Department of Applied Psychology and Human Development

University of Toronto
252 Bloor Street West

Toronto, ON M5S 1V6


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://stat.ethz.ch/pipermail/r-sig-meta-analysis/attachments/20210118/5494013d/attachment-0001.html>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Example 3.jpeg
Type: image/jpeg
Size: 309056 bytes
Desc: Example 3.jpeg
URL: <https://stat.ethz.ch/pipermail/r-sig-meta-analysis/attachments/20210118/5494013d/attachment-0003.jpeg>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Example 1.jpeg
Type: image/jpeg
Size: 246256 bytes
Desc: Example 1.jpeg
URL: <https://stat.ethz.ch/pipermail/r-sig-meta-analysis/attachments/20210118/5494013d/attachment-0004.jpeg>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Example 2.jpeg
Type: image/jpeg
Size: 276903 bytes
Desc: Example 2.jpeg
URL: <https://stat.ethz.ch/pipermail/r-sig-meta-analysis/attachments/20210118/5494013d/attachment-0005.jpeg>
#
I don't know how you are saving these jpeg files, but you should be using:

jpeg("filename.jpeg", width=<>, height=<>, pointsize=<>, quality=<>)

<code to create the forest plot>

dev.off()

Then adjust width, height, pointsize, and quality according to your needs.

This aside, jpeg is not a good choice for such images. I would go with png or tiff.

Best,
Wolfgang
#
And it's Hedges' g, not Hedge's g. Named after Larry Hedges.

Best,

Gerta

  
    
#
Thanks to both of you, I was just using the export option in R Studio, but will try this syntax. Good catch on ?Hedge?s g? ? I will update throughout the manuscript as well.



Best,

Dylan



Dylan Johnson, MSc



MA Student, School and Clinical Child Psychology
Department of Applied Psychology and Human Development

University of Toronto
252 Bloor Street West

Toronto, ON M5S 1V6



From: Gerta Ruecker<mailto:ruecker at imbi.uni-freiburg.de>
Sent: January 19, 2021 5:53 AM
To: Viechtbauer, Wolfgang (SP)<mailto:wolfgang.viechtbauer at maastrichtuniversity.nl>; Dylan Johnson<mailto:dylanr.johnson at mail.utoronto.ca>; r-sig-meta-analysis at r-project.org<mailto:r-sig-meta-analysis at r-project.org>
Subject: Re: [R-meta] Formatting forest.rma for journal submission



EXTERNAL EMAIL:

And it's Hedges' g, not Hedge's g. Named after Larry Hedges.

Best,

Gerta
--

Dr. rer. nat. Gerta R?cker, Dipl.-Math.

Institute of Medical Biometry and Statistics,
Faculty of Medicine and Medical Center - University of Freiburg

Stefan-Meier-Str. 26, D-79104 Freiburg, Germany

Phone:    +49/761/203-6673
Fax:      +49/761/203-6680
Mail:     ruecker at imbi.uni-freiburg.de
Homepage: https://www.uniklinik-freiburg.de/imbi-en/employees.html?imbiuser=ruecker