powered by
Create a dummy matrix from the elements in a factor
factor_to_dummy(afactor)
a factor (preferably of vectors)
A matrix of dummy variables
Internal function.