library(metafor)
# Calculating a random-effects model based on the mozart data
mozart_r <- rma(yi = d,
sei = se,
data = mozart,
method = "REML")
# using a rma.uni model as input
if (FALSE) {
wineq_gini(x = mozart_r, seed = 123)
}
# Plotting the wineq gini plot based on the mozart data
# using a matrix as input
if (FALSE) {
wineq_gini(x = mozart[, c("d", "se")], seed = 123)
}
Run the code above in your browser using DataLab