RubyGems Navigation menu

fdist 1.1.1

Given a block, Enumerable#fdist returns a frequency distribution of the results in the form of a Hash (sans block, distribution of raw element frequencies aka counts). Though one most often avoids imbuing a Hash w/ order-meaning, in this case the return Hash's pairs come ordered by frequency (i.e., the value side of the key-value pair).

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 1.1.4 - November 13, 2018 (8.5 KB)
  2. 1.1.2 - March 18, 2018 (7.5 KB)
  3. 1.1.1 - April 16, 2014 (8 KB)
  4. 1.0.1 - December 22, 2013 (7 KB)
  5. 1.0.0 - December 16, 2013 (7 KB)
Show all versions (13 total)

Development Dependencies (5):

bundler ~> 1.0
jeweler ~> 2.0.1
rdoc ~> 3.12
shoulda >= 0
simplecov >= 0

Owners:

Authors:

  • michael d. towle

SHA 256 checksum:

183f6dc6315a2ec88978ec30ae6ebc365022e085a78572522596aae17402c02c

Total downloads 23,240

For this version 3,098

License:

MIT

Required Ruby Version: >= 0

Links: