| rowwise_imax_idx | R Documentation |
Returns the column index of the maximum element in each row of an integer matrix. Uses Armadillo's 'index_max()' to avoid deprecated '.max(uword&)'.
rowwise_imax_idx(A)
A |
Integer matrix. |
A row vector of 0-based column indices of the maxima.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.