get_r_from_bsen: Estimate R-squared from beta, standard error and sample size

View source: R/add_rsq.r

get_r_from_bsenR Documentation

Estimate R-squared from beta, standard error and sample size

Description

Estimate R-squared from beta, standard error and sample size

Usage

get_r_from_bsen(b, se, n)

Arguments

b

Array of effect sizes

se

Array of standard errors

n

Array of (effective) sample sizes

Value

Vector of signed r values


MRCIEU/TwoSampleMR documentation built on May 2, 2024, 10:22 p.m.