I have a data.frame
with different observations with repeated names with different values each of them. Example:
Name Value Other_attributes
A 20 BLABLA1
B 40 BLABLA2
A 35 BLABLA3
B 10 BLABLA4
C 80 BLABLA5
I want a new data.frame
with only the observations with the maximum values of each group.
Name Value Other_attributes
B 40 BLABLA2
A 35 BLABLA3
C 80 BLABLA5
I hope to have been enough clear, thank you very much.