The metafor Package

A Meta-Analysis Package for R

User Tools

Site Tools


plots:caterpillar_plot

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revisionBoth sides next revision
plots:caterpillar_plot [2017/04/05 16:31] – external edit 127.0.0.1plots:caterpillar_plot [2021/03/29 19:46] Wolfgang Viechtbauer
Line 26: Line 26:
 forest(yi, vi, forest(yi, vi,
        xlim=c(-2.5,3.5),        ### adjust horizontal plot region limits        xlim=c(-2.5,3.5),        ### adjust horizontal plot region limits
-       subset=order(yi)       ### order by size of yi+       order="obs"            ### order by size of yi
        slab=NA, annotate=FALSE, ### remove study labels and annotations        slab=NA, annotate=FALSE, ### remove study labels and annotations
        efac=0,                  ### remove vertical bars at end of CIs        efac=0,                  ### remove vertical bars at end of CIs
plots/caterpillar_plot.txt · Last modified: 2021/12/20 15:43 by Wolfgang Viechtbauer