I am learning correlation tests, and am trying to test the HO that correlation = 0.64 and the HA that correlation > 0.64 at an alpha=0.05. I am fairly certain I need to use cor.test()
cor.test(x, y, alternative="g", exact=0.64)
But when I run it I get
Pearson's product-moment correlation
data: x and y
t = 7.9074, df = 36, p-value = 1.101e-09
alternative hypothesis: true correlation is greater than 0
95 percent confidence interval:
0.6702984 1.0000000
sample estimates:
cor
0.7966283
I am not sure this is correct, and feel like I am missing additional arguments.