som.nn.max.row | R Documentation |
Returns the index of the column with the maximum value for each row of a data.frame.
som.nn.max.row(x, strict = 0.8)
x |
data.frame or matrix |
strict |
minimum for max vote |
A class is only assigned, if the vote for one class is higher than for all others. If more than one element has the same maximum value, 0 is returned.
index of max value for each row or 0, if more than one element has the same maximum value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.