Obtains the correlation coefficient and tests of hypothesis
r = 0, by means of the methods of Pearson, Spearman or Kendall.
By default is Pearson and alternative two sided. Results similar to SAS.
Usage
cor.vector(x, y, method = c("pearson", "kendall", "spearman")
,alternative="two.sided")