[R] How to extract values after using metabin from the package meta?
lists at dewey.myzen.co.uk
Thu May 4 21:19:01 CEST 2017
Try using str(the_name_of_your_object) and see if you get any clues as
to where it is putting them. Sorry I cannot help further but I do not
use meta myself.
On 04/05/2017 15:29, jan Pierre wrote:
> I’m trying to do a meta-analysis with R. I tried to use the function
> metabin from the package meta :
> data <- data.frame(matrix(rnorm(40,25), nrow=17, ncol=8))
> rownames(data) = centres
> colnames(data) =
> metabin( data$case_exposed, data$case, data$witness_exposed, data$witness,
> data=data, sm="OR")
> where data_meta is a data frame with the number of case_exposed, case_data,
> witness_exposed, witness for each centre.
> I obtain after using metabin :
> How can I extract the values of OR and 95%-CI in the fixed effect model and
> the random effects model? I want to put these data in another array.
> I tried to use summary, but it doesn’t change anything.
> Thanks for your help.
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
> This email has been checked for viruses by AVG.
More information about the R-help