anticoagulation_df {metainc} | R Documentation |
Meta-analysis on the association between parenteral anticoagulation and mortality in patients with cancer
Description
Data set from meta-analysis on the association between parenteral anticoagulation and mortality in patients with cancer (Akl et al., 2017). For each primary study, results are expressed as a log odds ratio.
Details
Data frame containing, for each primary study of the meta-analysis from Akl et al. (2017):
number of events (variables
rA
andrB
) and total number of participants (nA
andnB
) for each group,effect sizes [ln OR] (
yi
),respective variances (
vi
),risk of bias assessment (
RoB
).
Source
Akl, E. A., Kahale, L. A., Hakoum, M. B., Matar, C. F., Sperati, F., Barba, M., et al. (2017). “Parenteral anticoagulation in ambulatory patients with cancer.” Cochrane Database of Systematic Reviews, 9: CD006652.
See Also
Examples
data(anticoagulation_df)
m1 <- meta::metagen(yi, sqrt(vi), sm = "OR", data = anticoagulation_df,
studlab = LETTERS[1:18])
set.seed(1090) # Make sampled effect sizes reproducible
sample1 <- getsamples(m1)
dis1 <- inc(sample1, dt1 = 16, dt2 = 31, dt3 = 60, br = 0.504, sm = "OR")
dis1
if(requireNamespace("metafor")){
# Same sampled effect sizes using R package 'metafor' (must be installed)
m2 <- metafor::rma(anticoagulation_df, measure = "OR", slab = LETTERS[1:18])
set.seed(1090) # Make sampled effect sizes reproducible
sample2 <- getsamples(m2)
dis2 <- inc(sample2, dt1 = 16, dt2 = 31, dt3 = 60, br = 0.504, sm = "OR")
dis2
all.equal(sample1, sample2) # Only difference: package name
}
[Package metainc version 0.2-0 Index]