distancePermutationHamming: Hamming Distance for Permutations
Description
Hamming distance for permutations, scaled to values between 0 and 1.
That is, the number of unequal elements of two permutations, divided by the permutations length.
Usage
distancePermutationHamming(x, y)
Value
numeric distance value $$d(x,y)$$, scaled to values between 0 and 1 (based on the maximum possible distance between two permutations)