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.14
Depends: R (≥ 4.0)
Imports: utils
LinkingTo: Rcpp
Published: 2025-02-13
DOI: 10.32614/CRAN.package.PerMallows
Author: Ekhine Irurozki [aut, cre], Borja Calvo [aut], Jose A. Lozano [aut]
Maintainer: Ekhine Irurozki <irurozki at telecom-paris.fr>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: yes
Citation: PerMallows citation info
CRAN checks: PerMallows results

Documentation:

Reference manual: PerMallows.pdf

Downloads:

Package source: PerMallows_1.14.tar.gz
Windows binaries: r-devel: PerMallows_1.14.zip, r-release: PerMallows_1.14.zip, r-oldrel: PerMallows_1.14.zip
macOS binaries: r-devel (arm64): PerMallows_1.14.tgz, r-release (arm64): PerMallows_1.14.tgz, r-oldrel (arm64): PerMallows_1.14.tgz, r-devel (x86_64): not available, r-release (x86_64): PerMallows_1.14.tgz, r-oldrel (x86_64): PerMallows_1.14.tgz
Old sources: PerMallows archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=PerMallows to link to this page.