我正在尝试用 R 进行荟萃分析。使用包 meta 中的函数 metabin 后,我得到 了这个
这是我的数据的简化版本:
data <- data.frame(matrix(rnorm(40,25), nrow=17, ncol=8))
centres<-c("LYON","SAINT ETIENNE","REIMS","TOULOUSE","SVP","NANTES","STRASBOURG","GRENOBLE","ANGERS","TOULON","MARSEILLE","COLMAR","BORDEAUX","RENNES","VALENCE","CAEN","NANCY")
rownames(data) = centres
colnames(data) = c("case_exposed","witness_exposed","case_nonexposed","witness_nonexposed","exposed","nonexposed","case","witness")
metabin( data$case_exposed, data$case, data$witness_exposed, data$witness, studlab=centres,
data=data, sm="OR")
我只想在固定效应模型和随机效应模型中提取 OR 和 95%-CI 的值,所以我可以将它们放在另一个数组中。无论如何这是可能的吗?
我尝试使用摘要,但它没有改变任何东西。谢谢你的帮助。