Includes functions to work with the Mallows and Generalized Mallows Models. The considered distances are Kendall'stau, Cayley, Hamming and Ulam and it includes functions for making inference, sampling and learning such distributions, some of which are novel in the literature. As a byproduct, PerMallows also includes operations for permutations, paying special attention to those related with the Kendall'stau, Cayley, Ulam and Hamming distances. It is also possible to generate random permutations at a given distance, or with a given number of inversions, or cycles, or fixed points or even with a given length on LIS (longest increasing subsequence).
Package details 


Author  Ekhine Irurozki <[email protected]>, Borja Calvo <[email protected]>, Jose A. Lozano <[email protected]> 
Date of publication  20170428 23:19:26 UTC 
Maintainer  Ekhine Irurozki <[email protected]> 
License  GPL (>= 2) 
Version  1.13 
Package repository  View on CRAN 
Installation 
Install the latest version of this package by entering the following in R:

Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.