### load BCG vaccine data
data(dat.bcg)
### meta-analysis of the log relative risks using a fixed-effects model
res <- rma(ai=tpos, bi=tneg, ci=cpos, di=cneg,
data=dat.bcg, measure="RR", method="FE")
trimfill(res)
funnel(trimfill(res))
### meta-analysis of the log relative risks using a random-effects model
res <- rma(ai=tpos, bi=tneg, ci=cpos, di=cneg,
data=dat.bcg, measure="RR", method="REML")
trimfill(res)
funnel(trimfill(res))
Run the code above in your browser using DataLab