Tag: select top n values by group in R