som.nn.max.row {som.nn}R Documentation

Special version of maximum finder for SOMnn

Description

Returns the index of the column with the maximum value for each row of a data.frame.

Usage

som.nn.max.row(x, strict = 0.8)

Arguments

x

data.frame or matrix

strict

minimum for max vote

Details

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.

Value

index of max value for each row or 0, if more than one element has the same maximum value.


[Package som.nn version 1.4.4 Index]