How to output whole information when using group_by and summarize : <p>My data has continent, country and dif(number).I am now trying to find the maximum of dif by each continent, and following is my code. How can I get the countries name at the same time?</p>

<pre><code>dt_dif %&gt;%
  group_by(continent)%&gt;%
  summarize(max_dif = max(dif))
</code></pre>
