Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Dec 19, 2021
1 parent 9b3935b commit b91a518
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/stats/compute.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ import { getMean } from './sum.js'
// important. However, the mean is a far more useful statistic.
// - This would create too many statistics for the average, together with the
// mean and the median.
// All of the following stats work well with precise floats, rounded floats and
// integers:
// - The latter two can happen due to:
// - Low time resolution
// - Custom units returning integers or already rounded measures
// eslint-disable-next-line max-lines-per-function
export const computeStats = function ({
measures,
Expand Down

0 comments on commit b91a518

Please sign in to comment.