View source: R/color2D.matplot.R
find_max_cell | R Documentation |
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 ‘color2D.matplot’. Remember to subtract 0.5 from both values to center the mark in the cell.
Jim Lemon
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.