Fast Generators and Iterators for Permutations, Combinations, Integer Partitions and Compositions

Fast generators and iterators for permutations, combinations, integer partitions and compositions. The arrangements are in lexicographical order and generated iteratively in a memory efficient manner. It has been demonstrated that 'arrangements' outperforms most existing packages of similar kind. Benchmarks could be found at < https://randy3k.github.io/arrangements/articles/benchmark.html>.


Fast Generators and Iterators for Permutations, Combinations, Integer Partitions and Compositions

check codecov CRAN_Status_Badge

Github: https://github.com/randy3k/arrangements

Documentation: https://randy3k.github.io/arrangements/

Fast generators and iterators for permutations, combinations, integer partitions and compositions. The arrangements are in lexicographical order and generated iteratively in a memory efficient manner. It has been demonstrated that ‘arrangements’ outperforms most existing packages of similar kind. Benchmarks could be found at https://randy3k.github.io/arrangements/articles/benchmark.html.

Installation

You can install the released version of arrangements from CRAN with:

install.packages("arrangements")

Install the latest development version using

devtools::install_github("randy3k/arrangements")

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("arrangements")

1.1.10 by Randy Lai, 7 months ago


https://github.com/randy3k/arrangements/


Browse source code at https://github.com/cran/arrangements


Authors: Randy Lai [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports gmp, methods, R6

Suggests foreach, testthat

System requirements: gmp (>= 4.2.3)


Imported by CARM, MKinfer, MOLHD, MultiStatM, baskexact, basksim, budgetIVr, cash, cia, exhaustiveRasch, gasmodel, iterpc, lancor, mvalpha, voice.

Depended on by sindyr.

Suggested by DiceView, colorSpec, cosmic, skedastic, zonohedra.


See at CRAN