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

Jack Solomon kj@j@o|omon @end|ng |rom gm@||@com
Wed Aug 18 17:17:49 CEST 2021


Very informative, thanks very much Wolfgang!

Kind regards,
Jack

On Wed, Aug 18, 2021 at 7:13 AM Viechtbauer, Wolfgang (SP) <
wolfgang.viechtbauer using maastrichtuniversity.nl> wrote:

> 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 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,
> >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
>

	[[alternative HTML version deleted]]



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