| rowwise_max_idx | R Documentation |
Returns the column index of the maximum element in each row of A. Uses Armadillo's 'index_max()' to avoid deprecated '.max(uword&)'.
rowwise_max_idx(A)
A |
Numeric 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.