title: Rank with Ties in R
body: <p>I have a list of competitors and point values from a tournament. A lot of competitors are tied. I need a way to rank them in R so that, for example, if four competitors tie for fourth place, the output might look like this:</p>
  
  <pre><code>Competitor A: 1 
  Competitor B: 2
  Competitor C: 3
  Competitor D: 4
  Competitor E: 4
  Competitor F: 4
  Competitor G: 4
  Competitor F: 8
  </code></pre>
  
  <p>So the next rank after the tie, instead of being 5, would be 8 (because four competitors took up the slots from 4-7).</p>
  
  <p>I know this is a little counter intuitive, but if anyone has any ideas it would be highly appreciated. Thanks! </p>
  
  <p>data</p>
  
  <pre><code>v1 &lt;- setNames(c(4, 5, 2, 7, 7, 7, 7, 9), paste('Competitor', LETTERS[1:8]))
  </code></pre>