weighted_median: Weighted median method

View source: R/mr.R View source: R/mr.R

weighted_medianR Documentation

Weighted median method

Description

New method from Jack

Usage

weighted_median(b_iv, weights)

Arguments

b_iv

Wald ratios

weights

Weights of each SNP

Value

MR estimate


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