powered by
distSpearman(x, y)
x=1:5 y=c(2,3,1,4,5) distSpearman(x,y)
Run the code above in your browser using DataLab