size.prune: Size prune

View source: R/format_mr_results2.R

size.pruneR Documentation

Size prune

Description

Whens there are duplicate summary sets for a particular exposure-outcome combination, this function drops the duplicates with the smaller total sample size (for binary outcomes, the number of cases is used instead of total sample size).

Usage

size.prune(dat)

Arguments

dat

Results from harmonise_data().

Value

data frame


MRCIEU/TwoSampleMR documentation built on Sept. 28, 2024, 6:51 p.m.