The metafor Package

A Meta-Analysis Package for R

User Tools

Site Tools



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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
tips:comp_mh_different_software [2016/03/12 13:55]
Wolfgang Viechtbauer
tips:comp_mh_different_software [2018/12/08 10:57]
Wolfgang Viechtbauer
Line 7: Line 7:
 ==== Data Preparation ==== ==== Data Preparation ====
-The data can be loaded with:+The data to be used for this example are stored in the dataset ''​dat.nielweise2007''​:
 <code rsplus> <code rsplus>
 library(metafor) library(metafor)
-dat <- get(data(dat.nielweise2007))+dat <- dat.nielweise2007
 dat dat
 </​code>​ </​code>​
-(by using ''​dat %%<%%- get(data(dat.nielweise2007))'',​ the dataset is copied into ''​dat'',​ which is a bit shorter and therefore easier to type). 
 <code output> <code output>
    ​study ​        ​author year ai n1i ci n2i    ​study ​        ​author year ai n1i ci n2i
tips/comp_mh_different_software.txt ยท Last modified: 2019/05/05 16:21 by Wolfgang Viechtbauer