r2p Convert Correlation Coefficient to P-value
r2p(r, n)
r
the correlation coefficient
n
the number of samples
a numeric p-value
r2p(r=0.4,n=20) # 0.08