Skip to content
Sections
>> Trisquel >> Packages >> aramo >> ruby >> ruby-enumerable-statistics
nabia  ] [  aramo  ]

Package: ruby-enumerable-statistics (2.0.7+dfsg-3)

Statistics features for Enumerable

Enumerable::Statistics provides some methods to calculate statistical summary in arrays and enumerables.

The following methods are supplied by this library:

 - `Array#mean`, `Enumerable#mean` - Calculates a mean of values in an array
   or an enumerable
 - `Array#variance`, `Enumerable#variance` - Calculates a variance of values
   in an array or an enumerable
 - `Array#stdev`, `Enumerable#stdev` - Calculates a standard deviation of
   values in an array or an enumerable
 - `Array#mean_variance`, `Enumerable#mean_variance` - Calculates a mean and a
   variance simultaneously
 - `Array#mean_stdev`, `Enumerable#mean_stdev` - Calculates a mean and a
   standard deviation simultaneously
 - `Array#median` - Calculates a median of values in an array
 - `Array#percentile(q)` - Calculates a percentile or percentiles of values
   in an array
 - `Array#value_counts`, `Enumerable#value_counts`, and `Hash#value_counts` -
   Count how many items for each value in the container
 - `Array#histogram` - Calculate histogram of the values in the array

Other Packages Related to ruby-enumerable-statistics

  • depends
  • recommends
  • suggests
  • dep: libc6 (>= 2.29)
    GNU C Library: Shared libraries
    also a virtual package provided by libc6-udeb
  • dep: libruby3.0 (>= 3.0.0~preview2)
    Libraries necessary to run Ruby 3.0
  • dep: ruby (<< 1:3.1~)
    Interpreter of object-oriented scripting language Ruby (default version)
    dep: ruby (>= 1:3.0~0)

Download ruby-enumerable-statistics

Download for all available architectures
Architecture Package Size Installed Size Files
amd64 141.4 kB439 kB [list of files]
arm64 140.8 kB429 kB [list of files]
armhf 139.7 kB397 kB [list of files]
ppc64el 144.5 kB471 kB [list of files]