title: Finding max value with tidyverse
body: <p>I'm new to tidyverse and trying to learn it.</p>
  
  <p>I want to find the max value of a column in a matrix. How I would do it with base R: </p>
  
  <pre><code>state.name[which.max(state.x77[,"Illiteracy"])]
  </code></pre>
  
  <p>Here is what I've tried using tidyverse so far: </p>
  
  <pre><code>state.x77 %&gt;% state.name %&gt;% which.max(.,"Illiteracy")
  
  
  state.x77 %&gt;% select(.,max(state.name))  
  
  
  state.x77 %&gt;%
  group_by(state.name) %&gt;%
  summarize(max(.,))
  </code></pre>
  
  <p>I'm really unsure how to fit the Illiteracy part into, as well. </p>
  
  <p>Thanks for help.</p>