I’m trying to do a meta-analysis with R. After using the function metabin from the package meta, I obtain this
Here is a simplified version of my data :
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")
I would like to only extract the values of OR and 95%-CI in the fixed effect model and the random effects model, so I could put them in another array. Is there anyway this is possible ?
I tried to use summary, but it doesn’t change anything. Thanks for your help.