Journal of Statistical Software (May 2006)
Additive Integer Partitions in R
Abstract
This paper introduces the partitions package of R routines, for numerical calculation of integer partititions. Functionality for unrestricted partitions, unequal partitions, and restricted partitions is provided in a small package that accompanies this note; the emphasis is on terse, efficient C code. A simple combinatorial problem is solved using the package.