combinat: Combinatorics Utilities

Provides routines for combinatorial enumeration including generation of all combinations, permutations, and lattice points on hypercuboids and simplex lattices. Includes utilities for multinomial distributions: the multinomial probability mass function, random sampling with varying parameters, and encoding conversions between simplex representations. Also supplies exact and log-scale factorial computation and the generalized binomial coefficient for real-valued n. Package functions include procedures described in Reingold, Nievergelt and Deo (1977) Combinatorial Algorithms: Theory and Practice (dl.acm.org/citation.cfm?id=1096489), Feller volume 1, and Nijenhuis and Wilf (1978) Combinatorial Algorithms for Computers and Calculators (ISBN 0125192606 / 9780125192606).

Getting started

Package details

AuthorScott Chasalow [aut], Vince Carey [cre]
MaintainerVince Carey <stvjc@channing.harvard.edu>
LicenseGPL-2
Version0.0-9
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("combinat")

Try the combinat package in your browser

Any scripts or data that you put into this service are public.

combinat documentation built on Sept. 14, 2026, 9:08 a.m.