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).

Getting started

Package details

AuthorEkhine Irurozki [aut, cre], Borja Calvo [aut], Jose A. Lozano [aut]
MaintainerEkhine Irurozki <irurozki@telecom-paris.fr>
LicenseGPL (>= 2)
Version1.14
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("PerMallows")

Try the PerMallows package in your browser

Any scripts or data that you put into this service are public.

PerMallows documentation built on April 3, 2025, 11:09 p.m.