Expand a data frame with factors to form a design matrix with the full binary encoding of each factor.
Useful links