The metafor Package

A Meta-Analysis Package for R

User Tools

Site Tools


analyses:vanhouwelingen2002

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
analyses:vanhouwelingen2002 [2021/05/09 15:38]
Wolfgang Viechtbauer
analyses:vanhouwelingen2002 [2021/05/09 15:39] (current)
Wolfgang Viechtbauer
Line 279: Line 279:
 <code rsplus> <code rsplus>
 res <- rma.mv(yi, vi, mods = ~ group - 1, random = ~ group | trial, struct="UN", data=dat.long, method="ML") res <- rma.mv(yi, vi, mods = ~ group - 1, random = ~ group | trial, struct="UN", data=dat.long, method="ML")
-reg <- matreg(y=2, x=1, R=res$G, cov=TRUE, means=coef(res), n=res$g.levels.comb.k)+reg <- matreg(y=2, x=1, R=res$G, cov=TRUE, means=coef(res), n=res$g.levels.comb.k) 
 reg reg
 </code> </code>
analyses/vanhouwelingen2002.txt ยท Last modified: 2021/05/09 15:39 by Wolfgang Viechtbauer