Learn R Programming

meta (version 7.0-0)

caffeine: Caffeine for daytime drowsiness

Description

Caffeine for daytime drowsiness (Cochrane Practice review)

Arguments

Format

A data frame with the following columns:

studystudy label
yearyear of publication
h.cafNumber of participants with headaches (caffeine group)
n.cafNumber of participants (caffeine group)
h.decafNumber of participants with headaches (decaf group)
n.decafNumber of participants (decaf group)
D1Domain 1 of risk of bias 2 tool (RoB 2)
D2Domain 2 (RoB 2)
D3Domain 3 (RoB 2)
D4Domain 4 (RoB 2)
D5Domain 5 (RoB 2)
robOverall RoB 2 assessment

Details

Data come from the Cochrane Practice review on caffeine for daytime drowsiness. Eight fictitous studies evaluate the risk of headaches after drinking either caffeinated or decaffeinated coffee.

References

Higgins JPT, Savović J, Page MJ, Sterne JA on behalf of the RoB2 Development Group (2019): Revised Cochrane risk-of-bias tool for randomized trials. https://www.riskofbias.info/welcome/rob-2-0-tool

See Also

metabin, rob

Examples

Run this code
oldset <- settings.meta("RevMan5")

data(caffeine)
head(caffeine)

m1 <- metabin(h.caf, n.caf, h.decaf, n.decaf, sm = "OR",
  data = caffeine, studlab = paste(study, year))

# Add risk of bias assessment to meta-analysis
m1 <- rob(D1, D2, D3, D4, D5, overall = rob, data = m1, tool = "rob2")

# Print risk of bias assessment
rob(m1)

# Forest plot with risk of bias assessment
forest(m1)

settings.meta(oldset)

Run the code above in your browser using DataLab