Learn R Programming

⚠️There's a newer version (1.1-6) of this package.Take me there.

permutations (version 1.0-2)

Permutations of a Finite Set

Description

Manipulates invertible functions from a finite set to itself. Can transform from word form to cycle form and back.

Copy Link

Version

Install

install.packages('permutations')

Monthly Downloads

339

Version

1.0-2

License

GPL-2

Maintainer

Robin K S Hankin

Last Published

January 25th, 2017

Functions in permutations (1.0-2)

derangement

Tests for a permutation being a derangement.
as.function.permutation

Coerce a permutation to a function
allperms

All permutations of a given size
commutator

Group-theoretic commutator and group action
fixed

Fixed elements
fbin

The fundamental bijection
conjugate

Are two permutations conjugate?
c

Concatenation of permutations
dodecahedron

The dodecahedron group
cyclist

details of cyclists
get1

Retrieve particular cycles or components of cycles
permorder

The order of a permutation
Ops.permutation

Arithmetic Ops Group Methods for permutations
orbit

Orbits of integers
permutation

Functions to create and coerce word objects and cycle objects
id

The identity permutation
nullperm

Null permutations
megaminx

megaminx
length

Various vector-like utilities for permutation objects.
inverse

Inverse of a permutation
shape

Shape of a permutation
sgn

Sign of a permutation
valid

Functions to validate permutations
print

Print methods for permutation objects
size

Gets or sets the size of a permutation
rperm

Random permutations
tidy

Utilities to neaten permutation objects