UNPKG

@tidyjs/tidy

Version:

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

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