# first the examples one by one
higgins(14.4, 24) # 1 (1, 1.34) 0 (0, 45)
higgins(14.1, 11) # 1.19 (1, 1.64) 20 (0, 65) probably a typo for 29
higgins(81.5, 19) # 2.13 (1.71, 2.64) 78 (66, 86)
higgins(41.5, 7) # 2.63 (1.90, 3.65) 86 (72, 92)
higgins(130.3, 3) # 8.07 (6.08, 10.72) 98 (97, 99)
# now repeat getting from dat.higgins02
data(dat.higgins02)
dat <- dat.higgins02
with(dat, higgins(Q, trials, slab = rownames(dat.higgins02)))
# supply I2 or pval
higgins(I2 = dat$I2[3], k = dat$trials[3])
higgins(pval = dat$pval[3], k = dat$trials[3])
Run the code above in your browser using DataLab