Skip to content
SixArm.com » Ruby » math statistics for mean, median, mode, variance, deviation, etc.
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.yardoc
coverage
doc
lib
test
.codeclimate.yml
.document
.gemtest
.gitattributes
.gitignore
.rspec
.travis.yml
CHANGES.md
CONTRIBUTING.md
Gemfile
Gemfile.lock
LICENSE.md
README.md
Rakefile
VERSION
sixarm_ruby_math_statistics-1.2.2-sha512.txt
sixarm_ruby_math_statistics-1.2.2.gem
sixarm_ruby_math_statistics.gemspec

README.md

SixArm.com » Ruby »
Math Statistics

Gem Version Build Status Code Climate Coverage Status

Introduction

Math statistics methods.

See http://pallas.telperion.info/ruby-stats/

For docs go to http://sixarm.com/sixarm_ruby_math_statistics/doc

Want to help? We're happy to get pull requests.

Install

To install using a Gemfile, add this:

gem "sixarm_ruby_math_statistics", ">= 1.2.2", "< 2"

To install using the command line, run this:

gem install sixarm_ruby_math_statistics -v ">= 1.2.2, < 2"

To install using the command line with high security, run this:

wget http://sixarm.com/sixarm.pem
gem cert --add sixarm.pem && gem sources --add http://sixarm.com
gem install sixarm_ruby_math_statistics -v ">= 1.2.2, < 2" --trust-policy HighSecurity

To require the gem in your code:

require "sixarm_ruby_math_statistics"

Examples

require "sixarm_ruby_math_statistics"
[1,2].sum => 3
[1,2].mean => 1.5
[1,2].mean => 1.5
[1,2].variance => 0.25
[1,2].deviation => 0.5
Something went wrong with that request. Please try again.