I want to make multinomial logit model. I have changed my variables to factors in R. However, I have to change some of these categorical variables to dummy ones. I tried different codes. Particularly, I tried dummyVar. However, It does not give me a variable for modeling. I appreciate it if you give me the code for that.