original data that should be matched to a design matrix
table
a column vector with levels for observations or a dummy-coded matrix
make_table_nominal
a boolean. Will make DESIGN nominal if TRUE (default).
Value
table
dummy-coded design matrix
Details
Execution stops if:
1. design has only 1 column (group), or
2. A column of the table has too few column-table assignments, or
3. A column of the table has too many column-table assignments