mode.js 449 B

12345678
  1. export var modeDocs = {
  2. name: 'mode',
  3. category: 'Statistics',
  4. syntax: ['mode(a, b, c, ...)', 'mode(A)', 'mode(A, a, b, B, c, ...)'],
  5. description: 'Computes the mode of all values as an array. In case mode being more than one, multiple values are returned in an array.',
  6. examples: ['mode(2, 1, 4, 3, 1)', 'mode([1, 2.7, 3.2, 4, 2.7])', 'mode(1, 4, 6, 1, 6)'],
  7. seealso: ['max', 'mean', 'min', 'median', 'prod', 'std', 'sum', 'variance']
  8. };