I have a data frame similar to:
a b c d
a 1 2 3 4
b 5 6 7 8
c 9 10 11 12
d 13 14 15 16
How do I find the maximum value in the data frame, along with its corresponding column and row name? For example I'd like to return: (d,d,16) I'd also like to do the same of the minimum value, so return: (a,a,1)