caffeine | R Documentation |
Caffeine for daytime drowsiness (Cochrane Practice review)
A data frame with the following columns:
study | study label |
year | year of publication |
h.caf | Number of participants with headaches (caffeine group) |
n.caf | Number of participants (caffeine group) |
h.decaf | Number of participants with headaches (decaf group) |
n.decaf | Number of participants (decaf group) |
D1 | Domain 1 of risk of bias 2 tool (RoB 2) |
D2 | Domain 2 (RoB 2) |
D3 | Domain 3 (RoB 2) |
D4 | Domain 4 (RoB 2) |
D5 | Domain 5 (RoB 2) |
rob | Overall RoB 2 assessment |
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.
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
metabin
, rob
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.