power.cor function

Approximates the power of a correlation test for a planned sample size