Calculate variance explained from p vals and sample size

get_r_from_pn(p, n)

Arguments

p

Array of pvals

n

Array of sample sizes

Value

r value