[R-meta] Displaying Subgroups in Forest Plot
dy|@nr@john@on @end|ng |rom m@||@utoronto@c@
Sat Jan 16 18:14:28 CET 2021
Thanks all � I have been following that code Wolfgang and it is coming together.
One issue I am having is that I have repeating author names and dates along the column in the forest plot where r is automatically adding a serial number to the end:
Is there any way to remove that?
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: Viechtbauer, Wolfgang (SP)<mailto:wolfgang.viechtbauer using maastrichtuniversity.nl>
Sent: January 16, 2021 4:50 AM
To: Dylan Johnson<mailto:dylanr.johnson using mail.utoronto.ca>; r-sig-meta-analysis using r-project.org<mailto:r-sig-meta-analysis using r-project.org>
Subject: RE: Displaying Subgroups in Forest Plot
There is a pretty coprehensive example here:
This should be fairly easy to adapt to the case where rma.mv() is used for model fitting.
>From: R-sig-meta-analysis [mailto:r-sig-meta-analysis-bounces using r-project.org]
>On Behalf Of Dylan Johnson
>Sent: Friday, 15 January, 2021 20:41
>To: r-sig-meta-analysis using r-project.org
>Subject: [R-meta] Displaying Subgroups in Forest Plot
>I am using the �forest� function to plot the results from a �rma.mv� model.
>I would like to stratify the forest plot into subgroups at the two levels of
>�VAR_X�. I do not understand how to tell the program what the variable is to
>stratify by. I see a lot of code such as �c(1:4)� and don�t really grasp
>what that is doing.
>I have a total of 37 effects, where n=14 are in category 1 of �VAR_X� and
>n=23 are in category 2 of �VAR_X�
>Ideally I would like to present these with their pooled estimate at the
>bottom of each subgroup level chunk.
>Thanks in advance!
>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
[[alternative HTML version deleted]]
More information about the R-sig-meta-analysis