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