title: Convert factor to integer
body: <p>I am manipulating a data frame using the reshape package. When using the melt function, it factorizes my value column, which is a problem because a subset of those values are integers that I want to be able to perform operations on.</p>
  
  <p>Does anyone know of a way to coerce a factor into an integer? Using <code>as.character()</code> will convert it to the correct character, but then I cannot immediately perform an operation on it, and <code>as.integer()</code> or <code>as.numeric()</code> will convert it to the number that system is storing that factor as, which is not helpful.</p>
  
  <p>Thank you!</p>
  
  <p>Jeff</p>