bincombinations: Binary Combinations

View source: R/bincombinations.R

bincombinationsR Documentation

Binary Combinations

Description

Returns a matrix containing the 2^p vectors of length p.

Usage

bincombinations(p)

Arguments

p

Length of binary vectors

Author(s)

Friedrich Leisch

Examples

bincombinations(2)
bincombinations(3)

e1071 documentation built on Sept. 14, 2024, 3 p.m.