Maximum (or minimum) value cell in a matrix.
Find the indices of the maximum value in a matrix.
find_max_cell(x,max=TRUE)
x |
a numeric matrix |
max |
The default is to return the indices of the maximum value(s). max=FALSE returns those of the minimum. |
A list containing the column (x) and row (y) indices.
Intended to enable the user to mark cells in sampcolor2D.matplot. Remember to subtract 0.5 from both values to center the mark in the cell.
Jim Lemon
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.