bug-datamash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-datamash] histograms and/or CDFs


From: Miah Ness
Subject: [Bug-datamash] histograms and/or CDFs
Date: Wed, 13 Aug 2014 13:48:25 -0400

Hi Assaf Gordon,

Thanks for developing this nice tool. I've been looking for something like this for years, and always resorted to perl/awk one-liners.

Would you be interested in integrating support for histograms and/or cumulative distribution functions?

I'm thinking about something as follows:

# cat data
1
2
9
11
14
34
36
37
38
# datamash hist:0:10:5 1 data
0 3
10 2
20 0 
30 4
40 0

The hist operator takes three arguments:

hist:<start>:<size>:<count>

<start> is the starting bucket value,
<size> is the size of each bucket, and
<count> is the number of buckets.

Thoughts?

Thanks,
Miah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]