title: R regression model
body: <p>I am trying to do a regression analysis in R however, I have variables that are qualitative for example(1=Restaurant, 2=Phone). I changed them using the function factor but, I need to separate the values in order to have two different variables for my regression analysis. How can I do this?</p>