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).

Version: 0.0-9
Published: 2026-09-14
DOI: 10.32614/CRAN.package.combinat
Author: Scott Chasalow [aut], Vince Carey [cre]
Maintainer: Vince Carey <stvjc at channing.harvard.edu>
License: GPL-2
NeedsCompilation: no
In views: NumericalMathematics
CRAN checks: combinat results [issues need fixing before 2026-10-12]

Documentation:

Reference manual: combinat.html , combinat.pdf

Downloads:

Package source: combinat_0.0-9.tar.gz
Windows binaries: r-devel: combinat_0.0-8.zip, r-release: combinat_0.0-8.zip, r-oldrel: combinat_0.0-8.zip
macOS binaries: r-release (arm64): combinat_0.0-8.tgz, r-oldrel (arm64): combinat_0.0-9.tgz, r-release (x86_64): combinat_0.0-9.tgz, r-oldrel (x86_64): combinat_0.0-9.tgz
Old sources: combinat archive

Reverse dependencies:

Reverse depends: bayess, complexity, CTxCC, FLR, GameTheory, genetics, NSM3, RMallow, steadyICA
Reverse imports: addreg, adea, AutoPlots, BINtools, biogram, bispdep, cardelino, cdmTools, cem, ChAMP, CloneSeeker, closeloop, clustMixType, colors3d, COLP, CorrBin, DEploid.utils, DGP4LCF, DoE.base, DoE.MIParray, doofa, eatRep, ERSA, evenBreak, funMoDisco, GMPro, isocir, klaR, label.switching, lpcde, lspartition, MCMCprecision, miclust, mixAR, monocle, ordinalForest, pcds, phytools, probs, RankAggSIgFUR, rankingQ, ReliabilityTheory, sBIC, SepTest, SEset, Sieve, SOAs, speccurvieR, StepBeta, sweater, symmoments, TensorClustering, thamesblock, thamesmix, TML, TopicScore, tost.suite, treespace, TSCAN, visualFields
Reverse suggests: AntibodyForests, combiter, compositions, couplr, ecp, gsbm, iterors, LSAmitR, MCMCglmm, ModStatR, PhylogeneticEM, qrmtools, usefun

Linking:

Please use the canonical form https://CRAN.R-project.org/package=combinat to link to this page.