Learn R Programming

metaSEM (version 1.5.0)

Mak09: Eight studies from Mak et al. (2009)

Description

Eight studies from Mak et al. (2009) were reported by Cheung et al. (2012).

Usage

data(Mak09)

Arguments

Format

A data frame with 8 observations on the following 10 variables.

Study

a character vector of study

type

a character vector

AF.BP

a numeric vector

Tot.BP

a numeric vector

AF.non.BP

a numeric vector

Tot.non.BP

a numeric vector

yi

a numeric vector

vi

a numeric vector

age.mean

a numeric vector

study.duration

a numeric vector

References

Cheung, M. W.-L., Ho, R. C. M., Lim, Y., & Mak, A. (2012). Conducting a meta-analysis: Basics and good practices. International Journal of Rheumatic Diseases, 15(2), 129-135. doi: 10.1111/j.1756-185X.2012.01712.x

Examples

Run this code
## Random-effects meta-analysis
( meta1 <- summary(meta(y=yi, v=vi, data=Mak09, I2=c("I2q", "I2hm"))) )

## Convert the estimates back into odds ratio 
OR <- with(coef(meta1), exp(c(Estimate[1], lbound[1], ubound[1])))
names(OR) <- c("Estimate in OR", "lbound in OR", "ubound in OR")
OR
  
## Mixed-effects meta-analysis with mean age as a predictor
summary( meta(y=yi, v=vi, x=age.mean, data=Mak09) )

Run the code above in your browser using DataLab