mode.js 578 B

123456789101112131415
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.modeDocs = void 0;
  6. var modeDocs = {
  7. name: 'mode',
  8. category: 'Statistics',
  9. syntax: ['mode(a, b, c, ...)', 'mode(A)', 'mode(A, a, b, B, c, ...)'],
  10. description: 'Computes the mode of all values as an array. In case mode being more than one, multiple values are returned in an array.',
  11. examples: ['mode(2, 1, 4, 3, 1)', 'mode([1, 2.7, 3.2, 4, 2.7])', 'mode(1, 4, 6, 1, 6)'],
  12. seealso: ['max', 'mean', 'min', 'median', 'prod', 'std', 'sum', 'variance']
  13. };
  14. exports.modeDocs = modeDocs;