combine_binaries: Generate a matrix of binary combinations

Description Usage Arguments Value See Also Examples

Description

Generates a matrix of all possible combinations of binary values (0s and 1s).

Usage

1

Arguments

n

The number of combinations to produce.

Value

A matrix of binary combinations, one for each row.

See Also

expand.grid, combn

Examples

1

jolars/motley documentation built on May 19, 2019, 7:25 p.m.