Skip to content
Prev 5407 / 5636 Next

[R-meta] Metafor - regplot() for a categorical (and interaction) variable

Interesting alternative. Speaking of alternatives, the orchaRd package also provides some nice functionality along those lines:

library(metafor)

remotes::install_github("daniel1noble/orchaRd")
library(orchaRd)

dat <- escalc(measure="RR", ai=tpos, bi=tneg,
              ci=cpos, di=cneg, data=dat.bcg)

res <- rma(yi, vi, mods = ~ alloc, data=dat)

orchard_plot(res, mod="alloc", group="trial", xlab="log(Risk Ratio)")

Best,
Wolfgang
Message-ID: <AS8PR08MB9193CC1A8B6624B35C3D547A8B9F2@AS8PR08MB9193.eurprd08.prod.outlook.com>
In-Reply-To: <CAKt3tz=oMvgOGL-Q0u0SjC8ku7muufCa=OyAk6SfEcrAYDAagA@mail.gmail.com>