cor.spearman {YRmisc} | R Documentation |
Spearman rank correlation
Description
Calculate Spearman Rank Correlation, which is the nonparametric version of the Pearson product-moment correlation.
Usage
cor.spearman(x,y)
Arguments
x |
:a numeric variable |
y |
:a numeric variable |
Examples
cor.spearman(mtcars[,1], mtcars[,3])
[Package YRmisc version 0.1.6 Index]