UNPKG

@tidyjs/tidy

Version:

Tidy up your data with JavaScript, inspired by dplyr and the tidyverse

14 lines (9 loc) 331 B
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var d3Array = require('d3-array'); function deviation(key) { const keyFn = typeof key === "function" ? key : (d) => d[key]; return (items) => d3Array.deviation(items, keyFn); } exports.deviation = deviation; //# sourceMappingURL=deviation.js.map