I have a "emp" dataset with name, grade and value(based on manager's feedback)
  name grade value
1  Ram     R   2.1
2  Sam     R   2.4
3  Jam     R   5.3
4 Bill     S   4.2
5 Claw     S   3.6
6  Men     S   1.2
7  Jay     P   5.3
8  Kay     P   3.8
9  Ray     P   3.2
With aggregate(value ~ grade, data = emp, FUN=min) I got the minimum value for each grade
  grade value
1     P   3.2
2     R   2.1
3     S   1.2
Based on the minimum value I wanted to display only the grade and the name but not the value column. Is this possible with aggregate() in R.
 
    