Learn R Programming

⚠️There's a newer version (0.0-8) of this package.Take me there.

combinat (version 0.0-4)

combinatorics utilities

Description

routines for combinatorics

Copy Link

Version

Install

install.packages('combinat')

Monthly Downloads

35,377

Version

0.0-4

License

GPL2

Maintainer

Vince Carey

Last Published

February 15th, 2017

Functions in combinat (0.0-4)

dmnom

density of multinomial, and support functions
hcube

Generate all points on a hypercuboid lattice.
combn

Generate all combinations of the elements of x taken m at a time.
xsimplex

Generates all points on a (p,n) simplex lattice (i.e. a p-part composition of n).
x2u

Convert an x-encoded simplex-lattice point to a u-encoded simplex-lattice point
permn

Generates all permutations of the elements of x
rmultinomial

Generate random samples from multinomial distributions
nsimplex

Computes the number of points on a (p, n)-simplex lattice