findCluster.rma.mv {clubSandwich} | R Documentation |
Detect cluster structure of an rma.mv object
Description
findCluster.rma.mv
returns a vector of ID variables for the highest level of clustering in a fitted rma.mv
model.
Usage
findCluster.rma.mv(obj)
Arguments
obj |
A fitted |
Value
A a vector of ID variables for the highest level of clustering in obj
.
Examples
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)
}
[Package clubSandwich version 0.5.11 Index]