powered by
Calculate Spearman Rank Correlation, which is the nonparametric version of the Pearson product-moment correlation.
cor.spearman(x,y)
:a numeric variable
# NOT RUN { cor.spearman(mtcars[,1], mtcars[,3]) # }
Run the code above in your browser using DataLab