PerMallows: Permutations and Mallows Distributions

Includes functions to work with the Mallows and Generalized Mallows Models. The considered distances are Kendall's-tau, 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 by-product, PerMallows also includes operations for permutations, paying special attention to those related with the Kendall's-tau, 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).

Version: 1.12
Depends: Rcpp (≥ 0.10.3)
Imports: utils
LinkingTo: Rcpp
Published: 2016-08-03
Author: Ekhine Irurozki, Borja Calvo, Jose A. Lozano
Maintainer: Ekhine Irurozki <ekhine.irurozqui at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: yes
Citation: PerMallows citation info
In views: Distributions
CRAN checks: PerMallows results


Reference manual: PerMallows.pdf
Package source: PerMallows_1.12.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X Mavericks binaries: r-release: PerMallows_1.12.tgz, r-oldrel: PerMallows_1.12.tgz
Old sources: PerMallows archive


Please use the canonical form to link to this page.