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")
number of items in the permutations
optional. One of: kendall (default), cayley, hamming, ulam
The maximum value for the distance between the permutations
1 2 3
Loading required package: Rcpp  3  9  6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.