modus

Calculates the modus 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

modus