Hi all,

I want to use "which.max" to identify the maximum in a 2D array/matrix and I
want "argmin" and return the row and column indices.

But "which.max" only works for vector...

Is there any convinient way to solve this problem?

Thanks a lot!

	[[alternative HTML version deleted]]


