[R-meta] Extractable objects from an rma.mv() objects

Viechtbauer, Wolfgang (SP) wo||g@ng@v|echtb@uer @end|ng |rom m@@@tr|chtun|ver@|ty@n|
Wed Aug 18 14:12:54 CEST 2021

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:



>-----Original Message-----
>From: R-sig-meta-analysis [mailto:r-sig-meta-analysis-bounces using 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 fitted
>metafor::rma.mv() models.
>Specifically, I was wondering what do the following undocumented boolean
>objects denote (withS, withG, withH, and withR)?
>Much appreciated,
>dat <- dat.konstantopoulos2011
>m1 <- rma.mv(yi, vi, random = ~ 1 | district/study, data = dat)
>> m1$withS
>> m1$withG
>> m1$withH
>> m1$withR

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