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?
dt_dif %>%
group_by(continent)%>%
summarize(max_dif = max(dif))