if (requireNamespace("metafor", quietly = TRUE)) {
library(metafor)
data(dat.assink2016, package = "metadat")
mfor_fit <- rma.mv(yi ~ year + deltype,
V = vi, random = ~ 1 | study / esid,
data = dat.assink2016)
findCluster.rma.mv(mfor_fit)
}
Run the code above in your browser using DataLab