Skip to content
Prev 2722 / 5632 Next

[R-meta] Plotting interaction effect from a rma.mv() fit

Dear All,

Are there plotting packages (e.g., `effects::plot(allEffects())`,
`sjPlot::plot_model()`, `emmeans::emmip()`  ) to plot the predictions of a
say rma.mv() model?

For example, is it possible to plot the interaction effect below?

library(metafor)
dat <- read.csv("https://raw.githubusercontent.com/hkil/m/master/tst.csv")
fit <- rma.mv(d ~ factor(outcome)*time, V = SE^2, random= ~1|id, data = dat)