I am writing a function that has arguments of utensil but actually returns the name of the brand that sells in maximum cost using data frame below:
utensil cost brand
1 pen 1 a
2 pencil 2 b
3 pen 5 c
4 pen 6 d
5 pencil 2 e