### load BCG vaccine data
data(dat.bcg)
### meta-analysis of the log relative risks using a mixed-effects meta-regression model
### with multiple moderators (absolute latitude, publication year, and allocation method)
res <- rma(measure="RR", ai=tpos, bi=tneg, ci=cpos, di=cneg,
mods = ~ ablat + year + alloc, data=dat.bcg)
model.matrix(res)
Run the code above in your browser using DataLab