Learn R Programming

gmwm (version 2.0.0)

comb.mat: Create Combination Matrix

Description

Generates a matrix containing all the combination listings

Usage

comb.mat(n)

Arguments

n
The number of variables.

Value

Returns a binary matrix (e.g. 1 or 0) entries

Details

Port expand.grid to C++ at a later time...