maxi.dist {PerMallows} | R Documentation |
Compute the maximum posible value for the distance between two given permutations. The distance can be kendall, cayley, hamming and ulam
maxi.dist(perm.length, dist.name = "kendall")
perm.length |
number of items in the permutations |
dist.name |
optional. One of: kendall (default), cayley, hamming, ulam |
The maximum value for the distance between the permutations
maxi.dist(4,"cayley") maxi.dist(10,"ulam") maxi.dist(4)