title: Find out the "max" of a column and the value of another column for the corresponding row
body: <p>In a huge dataframe, I want to find out the max value of multiple columns.</p>
  
  <p>With those values, I want to find and print the values of a different column for the rows where the first column contains these "max" values.</p>
  
  <p>For example, using the <a href="http://www.r-tutor.com/r-introduction/data-frame" rel="nofollow noreferrer"><code>mtcars</code> built-in dataframe</a>, I want to find the max value for the columns <code>qsec</code>, <code>hp</code> and <code>wt</code>. Then, using those max column values, locate and print the value from the <code>mpg</code> column for the rows that contain those max <code>qsec</code>, <code>hp</code> and <code>wt</code> values.</p>