Creates a matrix representing all possible combinations of N binary variables. Each row corresponds to a unique combination, and each column represents a variable where 1 indicates inclusion and 0 indicates exclusion.
Perms(n)A matrix with 2^n rows and n columns, where each row is a unique permutation of 0s and 1s.
Integer. Number of variables to generate permutations for.
Bethany Wolf [email protected]
This is an internal function called by TTab and is not intended for independent use.