row_modus

Calculates the modus for the rows of an inputted vector or matrix. Depending on input, function can return scalar, vector or matrix

Arguments

  1. Vector of real values

Output

Resulting modus

Examples

row_modus