[R-meta] Meta package
Dr. Gerta Rücker
ruecker @end|ng |rom |mb|@un|-|re|burg@de
Thu Aug 22 17:26:51 CEST 2019
Dear Julie,
Please always respond to the list, not only to me.
To your question: Example code is again found in the help file to
forest.meta:
data(Olkin95)
m1 <- metabin(event.e, n.e, event.c, n.c,
data = Olkin95, subset = c(41, 47, 51, 59),
sm = "RR", method = "I",
studlab = paste(author, year))
# Add labels on both sides of forest plot
#
forest(m1, layout = "RevMan5", comb.fixed = FALSE,
label.right = "Favours control", col.label.right = "red",
label.left = "Favours experimental", col.label.left = "green",
prediction = TRUE)
Best,
Gerta
Am 22.08.2019 um 00:46 schrieb Julie Webbs:
> Sorry, Gerta. I have sorted it out. The issue has been solved. Many
> thanks for your help
>
> May I have another question. I want to change "experimental" and
> "control" to something else. Which argument I can use?
> Many thanks
> Julie
>
> On Wed, Aug 21, 2019 at 8:53 PM Dr. Gerta Rücker
> <ruecker using imbi.uni-freiburg.de <mailto:ruecker using imbi.uni-freiburg.de>>
> wrote:
>
> Dear Julie,
>
> If you want to export your forest plot, e.g., as a pdf, you may
> change the height (and if necessary, also the width) of your
> figure. For example, write
>
> pdf("Forest.pdf", height = 20, width = 8)
> forest(metaobject)
> dev.off()
>
> You also may have a look at the arguments of the forest function
> by typing
>
> help(forest.meta)
>
> Particularly, you can change fonts, font size etc. using the
> arguments ff.study, ff.study labels, or spacing (and others) for
> tuning the plot parameters.
>
> Best,
>
> Gerta
>
> Am 21.08.2019 um 19:10 schrieb Julie Webbs:
>> Dear All
>> I have run a meta-analysis using meta. But I got an error as the headings
>> and at the end of the forest plot ( large diamond), are not visible in R
>> studio. *I have 62 studies*.
>>
>> Would you please help me to get my forest plot perfectly.
>>
>> Many thanks and looking forward to hearing from you
>>
>> Julie
>> [[alternative HTML version deleted]]
>>
>> _______________________________________________
>> R-sig-meta-analysis mailing list
>> R-sig-meta-analysis using r-project.org <mailto:R-sig-meta-analysis using r-project.org>
>> https://stat.ethz.ch/mailman/listinfo/r-sig-meta-analysis
>
[[alternative HTML version deleted]]
More information about the R-sig-meta-analysis
mailing list