# NOT RUN {
data(BCG)
## Univariate meta-analysis on the log of the odds ratio
summary( meta(y=ln_OR, v=v_ln_OR, data=BCG,
x=cbind(scale(Latitude,scale=FALSE),
scale(Year,scale=FALSE))) )
## Multivariate meta-analysis on the log of the odds
## The conditional sampling covariance is 0
bcg <- meta(y=cbind(ln_Odd_V, ln_Odd_NV), data=BCG,
v=cbind(v_ln_Odd_V, cov_V_NV, v_ln_Odd_NV))
summary(bcg)
plot(bcg)
# }
Run the code above in your browser using DataLab