The metafor Package

A Meta-Analysis Package for R

User Tools

Site Tools


news:news2020

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
news:news2020 [2021/06/09 12:56]
Wolfgang Viechtbauer [March 19th, 2020: News Version (2.4-0) on Its Way to CRAN]
news:news2020 [2021/08/22 21:20] (current)
Wolfgang Viechtbauer [March 20th, 2020: Two New Functions for Network Meta-Analysis]
Line 43: Line 43:
 ==== March 20th, 2020: Two New Functions for Network Meta-Analysis ==== ==== March 20th, 2020: Two New Functions for Network Meta-Analysis ====
  
-As a follow-up to yesterday's note, it is maybe worth mentioning that I also added two functions that are especially useful for those conducting network meta-analyses with the metafor package. With the ''to.wide()'' function, one can rearrange a dataset that is in an arm-based 'long' format to a contrast-based 'wide' format. Two examples illustrating the use of this function can be found under [[https://wviechtb.github.io/metafor/reference/to.wide.html|help(to.wide)]] (the link takes you to the corresponding help file, which is nicely formatted and shows the output of the examples). Once the dataset is in such a wide format, an important next step is the construction of variables that reflect which two groups are being compared with each other in each row (through +1, 0, -1 coding). Such a contrast matrix can be easily created with the ''contrmat()'' function. See [[https://wviechtb.github.io/metafor/reference/contrmat.html|help(contrmat)]] for the help file and two examples illustrating its use. The analysis of these two datasets (using arm- and contrast-based models) are illustrated under [[https://wviechtb.github.io/metafor/reference/dat.hasselblad1998.html|help(dat.hasselblad1998)]] and [[https://wviechtb.github.io/metafor/reference/dat.hasselblad1998.html|help(dat.hasselblad1998)]].+As a follow-up to yesterday's note, it is maybe worth mentioning that I also added two functions that are especially useful for those conducting network meta-analyses with the metafor package. With the ''to.wide()'' function, one can rearrange a dataset that is in an arm-based 'long' format to a contrast-based 'wide' format. Two examples illustrating the use of this function can be found under [[https://wviechtb.github.io/metafor/reference/to.wide.html|help(to.wide)]] (the link takes you to the corresponding help file, which is nicely formatted and shows the output of the examples). Once the dataset is in such a wide format, an important next step is the construction of variables that reflect which two groups are being compared with each other in each row (through +1, 0, -1 coding). Such a contrast matrix can be easily created with the ''contrmat()'' function. See [[https://wviechtb.github.io/metafor/reference/contrmat.html|help(contrmat)]] for the help file and two examples illustrating its use. The analysis of these two datasets (using arm- and contrast-based models) are illustrated under [[https://wviechtb.github.io/metadat/reference/dat.senn2013.html|help(dat.senn2013)]] and [[https://wviechtb.github.io/metadat/reference/dat.hasselblad1998.html|help(dat.hasselblad1998)]].
  
 ==== March 19th, 2020: New Version (2.4-0) on Its Way to CRAN ==== ==== March 19th, 2020: New Version (2.4-0) on Its Way to CRAN ====
news/news2020.txt ยท Last modified: 2021/08/22 21:20 by Wolfgang Viechtbauer