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 Sept. 28, 2024, 6:51 p.m.