title: How to change a vector of Months in R to a numeric value in R
body: <p>So I have a vector in a data frame in R called Month.  My data frame is called wr200meter.  Here is the output of <code>wr200meter$Month</code>: </p>
  
  <pre><code>[1] May    June   June   Nov    Oct    March  April 
  
  [8] May    July   July   Sept   June   March  April 
  
  [15] June   Oct    August June   Oct    Sept   June  
  
  [22] August August August
  </code></pre>
  
  <p>When I do <code>as.numeric(wr200meter$Month)</code> I get:</p>
  
  <pre><code>[1] 6 4 4 7 8 5 1 6 3 3 9 4 5 1 4 8 2 4 8 9 4 2 2 2
  </code></pre>
  
  <p>What I want to get is a decimal number.  For example, for June I want 0.5 and for Sept, I want 0.75.  Could someone please tell me:
  1) how to get my desired decimal numbers
  2) Where do those outputted numbers from <code>as.numeric(wr200meter$Month)</code> come from?</p>
  
  <p>Thanks!</p>