Get top values by group r. I am trying to filter a data frame that contains n rows for n categories. In R Pr...