Plot Method for 'rma' Objects
Plot method for objects of class "rma.uni"
, "rma.mh"
, "rma.peto"
, and "rma.glmm"
.
## S3 method for class 'rma.uni' plot(x, qqplot=FALSE, ...) ## S3 method for class 'rma.mh' plot(x, qqplot=FALSE, ...) ## S3 method for class 'rma.peto' plot(x, qqplot=FALSE, ...) ## S3 method for class 'rma.glmm' plot(x, qqplot=FALSE, ...)
x |
an object of class |
qqplot |
logical indicating whether a normal QQ plot should be drawn (the default is |
... |
other arguments. |
Four plots are produced. If the model does not contain any moderators, then a forest plot, funnel plot, radial plot, and a plot of the standardized residuals is provided. If qqplot=TRUE
, the last plot is replaced by a normal QQ plot of the standardized residuals.
If the model contains moderators, then a forest plot, funnel plot, plot of the standardized residuals against the fitted values, and a plot of the standardized residuals is provided. If qqplot=TRUE
, the last plot is replaced by a normal QQ plot of the standardized residuals.
If the number of studies is large, the forest plot may become quite impossible to read due to the small font size. Stretching the plotting device vertically should provide more room.
Wolfgang Viechtbauer wvb@metafor-project.org http://www.metafor-project.org/
Viechtbauer, W. (2010). Conducting meta-analyses in R with the metafor package. Journal of Statistical Software, 36(3), 1–48. https://www.jstatsoft.org/v036/i03.
### meta-analysis of the log risk ratios using a random-effects model res <- rma(measure="RR", ai=tpos, bi=tneg, ci=cpos, di=cneg, data=dat.bcg) plot(res, qqplot=TRUE) ### mixed-effects model with two moderators (absolute latitude and publication year) res <- rma(measure="RR", ai=tpos, bi=tneg, ci=cpos, di=cneg, mods = ~ ablat + year, data=dat.bcg) plot(res, qqplot=TRUE)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.