diarrhea <- tibble::tibble(
study = c("Taipei Pediatric Trial", "Taichung Ward Study",
"Kaohsiung Multicenter Trial", "Tainan Outpatient Trial",
"Hualien Community Trial", "Chiayi Clinic Study",
"Keelung Probiotic Trial", "Pingtung Rural Study",
"Miaoli Family Practice", "Yilan Hospital Trial",
"Nantou Small Trial", "Taitung Pilot Study",
"Large Asia-Pacific Trial", "Large Taiwan Network Trial"),
event_tx = c(18, 16, 42, 13, 9, 11, 8, 6, 7, 21, 5, 4, 88, 74),
total_tx = c(180, 150, 420, 120, 92, 110, 80, 70, 76, 210, 58, 52, 900, 780),
event_ctrl = c(34, 30, 68, 29, 25, 26, 22, 18, 19, 39, 17, 14, 112, 98),
total_ctrl = c(178, 148, 418, 118, 90, 108, 82, 72, 78, 208, 60, 54, 895, 775),
risk_of_bias = c("Some concerns", "Some concerns", "Low", "Some concerns",
"High", "Some concerns", "High", "High", "High",
"Some concerns", "High", "High", "Low", "Low")
)
dia_es <- binary_effects(diarrhea)
kable(
dia_es |>
transmute(研究 = study, `總樣本數` = n_total, `偏差風險` = risk_of_bias,
`OR` = or, `95% CI` = sprintf("%.2f to %.2f", ci_low, ci_high)),
digits = 2
)