Given a table of values, I know how to find find maximum values, but how do I find the position of the maximum value in each column.
For example, given
{ {0.803279, 0.958913, 0.600443, 0.928255, 0.425632, 0.165858},
{0.550107, 0.929972, 0.990928, 0.110509, 0.803279, 0.939139},
{0.693203, 0.823982, 0.645499, 0.617851, 0.461366, 0.252978},
{0.277155, 0.321569, 0.796915, 0.976772, 0.462962, 0.944314} }
what so I apply to get
{{1, 1}, {1, 2}, {2, 3}, {4, 4}, {2, 5}, {4, 6}}
especially in cases where the maximum may not be unique (e.g. two columns could have the same maximum value).