Convert variable (possibly multiple choice question) to data.frame/matrix of dummy variables.
Useful links