I wanted to know if we can find a single mode from the data set below:
Name Food Decor Service Price
107 West 16 13 16 26
2nd Street cafe 14 13 15 21
44 & Hell's kitchen 22 19 19 42
55 wall 21 22 21 54
55 wall street 21 22 21 54
92 sub 15 15 15 43
Angelica kitchen 20 14 15 22
Angelo's 21 11 14 22
Avenue 18 14 14 36
I am trying to use the which.max function but unable to get the desired output. Could you please help.
For example - Mode for food will be 21.
Thanks