if (FALSE) {
if (requireNamespace("metadat", quietly = TRUE)) {
data(dat.bcg, package = "metadat")
ma <- metabin(tpos, tpos + tneg, cpos, cpos + cneg,
data = dat.bcg, studlab = paste(author, year), method = "Inverse")
summary(ma)
blup(ma)
# Save estimates in Excel file (R package 'writexl' must be available)
if (requireNamespace("writexl", quietly = TRUE))
estimates(blup(ma), path = "blup_ma.xlsx")
}
}
Run the code above in your browser using DataLab