generate_lehmerperm_matrix: A function to generate the Lehmer permutation ordering.

Description Usage Arguments Details Value Author(s) References

Description

Generates all permutations of a given embedding dimension, ordered according to the Lehmer coding scheme.

Usage

1

Arguments

ndemb

The embedding dimension.

Details

This function converts ranks to indices and back.

Value

A numeric matrix that contains the Lehmer permutation pattern.

Author(s)

Sebastian Sippel

References

http://www.keithschwarz.com/interesting/code/?dir=factoradic-permutation



Search within the statcomp package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.