title: Trying to find row associated with max value in dataframe R
body: <p>Like the title says. I am having trouble. for example I have a 2 column (V1,V2) dataframe with lots of rows, around 300,000. I know that </p>
  
  <pre><code>max(df$V2) 
  </code></pre>
  
  <p>will give me the max value of that second column. Now that I know my max value, how can I get the entire row associated with that value. Thanks!</p>