title: r - convert factor to numeric and remove levels
body: <p>I have a column in my data frame that is numbers 1, 2, 3, until 31.</p>
  
  <p>column is titled 'game'</p>
  
  <p>R tells me this column consists of Factors with 31 levels.  </p>
  
  <p><img src="https://i.stack.imgur.com/Vvys2.png" alt="enter image description here"></p>
  
  <p>How do I convert the factors to numbers without it displaying the levels so I can analyze it numerically?</p>
  
  <p>I'm using R studio if that help at all.</p>