title: Creating Category Variables from Numerical Variable in R
body: <p>I have a numerical variable (QS) which ranges from 1-10.  I would like to create a categorical variable where </p>
  
  <p>Bad: QS &lt; 5,  and 
  Good: QS > 5 </p>
  
  <p>So I would now have 2 categorical variables...Good and Bad</p>
  
  <p>What is the best way to do this in R?</p>