Description Usage Arguments Value Examples

Compute the maximum posible value for the distance between two given permutations. The distance can be kendall, cayley, hamming and ulam

1 | ```
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

1 2 3 |

```
Loading required package: Rcpp
[1] 3
[1] 9
[1] 6
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.