title: Creating dummy variables for a dataset
body: <p>I am new to r and have a data set containing a column with 3 states (1,2,3). The problem is i dont know to split the data set with respective dummy variables as to create box plots and ultimately a linear model. 
     PLease help!! :'( </p>