module DataSumz
Constants
- MAJOR
Current major release. @return [Integer]
- MINOR
Current minor release. @return [Integer]
- PATCH
Current patch level. @return [Integer]
- VERSION
Full release version. @return [String]
Public Class Methods
descr(array)
click to toggle source
Generates common central tendency statistics and measures of dispersion for numerical data.
@return [Hash]
# File lib/datasumz.rb, line 15 def descr(array) d = Describer.new(array) d.describe end
freq(array)
click to toggle source
Generates a table of frequencies with counts and percentages.
@return [Hash]
# File lib/datasumz.rb, line 23 def freq(array) f = Frequency.new(array) f.compute end