[R-meta] convert rma.mv() output to data.frame

Simon Harmel @|m@h@rme| @end|ng |rom gm@||@com
Wed Oct 6 22:46:59 CEST 2021


Dear Wolfgang and list members,

I am wondering if it is possible to convert the "Variance Components"
part of the output of an rma.mv() object to data.frame (example
below)?

Many thanks,
Simon

library(metafor)
dat <- dat.konstantopoulos2011

res <- rma.mv(yi, vi, random = ~ factor(school) | district, data=dat)

#Variance Components: Can we convert this part to a data.frame?

#outer factor: district       (nlvls = 11)
#inner factor: factor(school) (nlvls = 11)

#            estim    sqrt  fixed
#tau^2      0.0978  0.3127     no
#rho        0.6653             no

#Test for Heterogeneity:
#Q(df = 55) = 578.8640, p-val < .0001



More information about the R-sig-meta-analysis mailing list