powered by
r2p Convert Correlation Coefficient to P-value
r2p(r, n)
a numeric p-value
the correlation coefficient
the number of samples
r2p(r=0.4,n=20) # 0.08
Run the code above in your browser using DataLab