Hi Jack,
withS indicates whether there are any '~ 1 | id' random effects. withG and
withH are for the presence of a first and second "~ var1 | var2' random
effect. withR indicates whether a known correlation matrix has been
specified for some '~ 1 | id' random effect.
Ultimately, you can always look at the source code directly:
https://github.com/wviechtb/metafor/blob/master/R/rma.mv.r
Best,
Wolfgang
-----Original Message-----
From: R-sig-meta-analysis [mailto:
r-sig-meta-analysis-bounces at r-project.org] On
Behalf Of Jack Solomon
Sent: Wednesday, 18 August, 2021 3:27
To: R meta
Subject: [R-meta] Extractable objects from an rma.mv() objects
Hello Meta-Analysis Experts,
I'm exploring some apparently undocumented, extractable objects from
metafor::rma.mv() models.
Specifically, I was wondering what do the following undocumented boolean
objects denote (withS, withG, withH, and withR)?
Much appreciated,
Jack
library(metafor)
dat <- dat.konstantopoulos2011
m1 <- rma.mv(yi, vi, random = ~ 1 | district/study, data = dat)
m1$withS
m1$withG
m1$withH
m1$withR