p2corr {vulcan} | R Documentation |
This functions converts an p-value into a the corresponding correlation coefficient, using a T distribution with the provided number of samples N minus 2 degrees of freedom
p2corr(p, N)
p |
a p-value |
N |
a number of samples |
r a correlation coefficient
N<-100 p<-0.05 p2corr(p,N)