# combinatorics utilities

## Documentation for package ‘combinat’ version 0.0-8

- DESCRIPTION file.

## Help Pages

combn | Generate all combinations of the elements of x taken m at a time.
combn2 | Generate all combinations of the elements of x taken m at a time.
dmnom | density of multinomial, and support functions
fact | density of multinomial, and support functions
hcube | Generate all points on a hypercuboid lattice.
logfact | density of multinomial, and support functions
nCm | Generate all combinations of the elements of x taken m at a time.
nsimplex | Computes the number of points on a (p, n)-simplex lattice
permn | Generates all permutations of the elements of x
rmultinomial | Generate random samples from multinomial distributions
rmultz2 | Generate random samples from multinomial distributions
x2u | Convert an x-encoded simplex-lattice point to a u-encoded simplex-lattice point
xsimplex | Generates all points on a (p,n) simplex lattice (i.e. a p-part composition of n).