title: Return row label for max value in excel r
body: <p>How do I return the value in a column being used to label the rows of a table? For example, given the table below I want to find MAX(A:A) and return "Three" instead of the value 1.</p>
  
  <pre><code>        |A      B      C    D
  --------|---------------------------------
  One     |0.2    0.2   0.5   0.4
  Two     |0.1    0.1   0.6   0.1
  Three   |1.0    0.3   0.7   0.2
  Four    |0.5    0.4   0.5   0.3
  </code></pre>
  
  <p>Assume if two values are the same then returning either is acceptable.</p>