[R] Plots in Meta-Analysis
bernd.weiss at uni-koeln.de
Wed Oct 24 18:17:04 CEST 2007
Heather Watson schrieb:
> I have been working with the meta and rmeta packages in R. Is it possible to plot both the fixed and random effects so they appear on the same plot? Basically, I would like the plot to show the effects of each study, the summary effect for the fixed effects and the summary effect for the random effects.
> As far as I can tell from the documentation and my own code, possible plots pertain to one or the other, but not both. Thank you for your time.
Is this what you are looking for?
meta1 <- metabin(event.e, n.e, event.c, n.c, data=Fleiss93, sm="RR",
## with new labels
plot(meta1, comb.f = TRUE, comb.r = TRUE, text.f = "New label FEM",
text.r = "New label REM")
## without new labels
plot(meta1, comb.f = TRUE, comb.r = TRUE)
More information about the R-help