powered by
_
make_dummy(x)
factor
x <- factor( rep( c("a", "b", "c", "d"), each=25 ) ) make_dummy(x)
Run the code above in your browser using DataLab