compose | Compose permutations |
count.derangements | Count derangements |
count.perms.cycles | Count permutations with a given number of cycles |
count.perms.distance | Count permutations at a distance |
count.perms.fixed.points | Count permutations with a given number of fixed points |
count.perms.unfixed.points.gtet | Count permutations with at least a given number of unfixed points |
cycle2str | Friendly display the cycles |
cycles2permutation | Get the permutation given the cycles |
data.apa | Sample of permutations APA |
data.order | Sample of permutations |
decomposition2permutation | Get a permutation consistent with a decomposition vector |
dgmm | Calculate the probability of a permutation in a GMM |
distance | Compute the distance between permutations |
dmm | Calculate the probability of a permutation in a MM |
expectation.gmm | Compute the expected distance, GMM under the Hamming distance |
expectation.mm | Compute the expected distance, MM under the Hamming distance |
freq.matrix | Compute the frequency matrix |
generate.aux.files | Generates the files for Ulam |
identity.permutation | Generate identity the permutation |
insert.at | Insert operator |
inverse.permutation | Generate inverse permutation |
inversion.at | Inversion operator |
is.permutation | Check if its argument is a permutation |
lgmm | Learn a Generalized Mallows Model |
lgmm.theta | MLE for theta - Generalized Mallows Model |
lmm | Learn a Mallows Model |
lmm.theta | MLE for theta - Mallows Model |
marginal | Compute the marginal probability, GMM under the Hamming distance |
order.ratings | Convert rating to permutation |
perm.sample.med | Sample of permutations |
perm.sample.small | Sample of permutations |
permutation2cycles | Decompose a permutation in a set of cycles |
permutation2decomposition | Get the decomposition vector |
permutations.of | Generate every permutation of perm.length item |
r.derangement | Generate a collection of derangements |
r.dist.d | Generate a collection of permutations at a given distance |
r.perms.cycles | Generate a collection of permutations with a given number of cycles |
read.permutation.file | Read a text file with a collection of permtuations |
rgmm | Sample a Generalized Mallows Model |
rmm | Sample a Mallows Model |
runif.permutation | Random permutation |
swap | Swap two items of a permutation |