p <- c(0.01, 0.13, 0.07, 0.2)
w <- c(100, 50, 200, 30)
#with equal weights
combine.test(p=p, method="z.transform")
#with p-values weighted by the sample size of the studies
combine.test(p=p, weight=w, method="z.transform")
Run the code above in your browser using DataLab