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