daru

https://github.com/sciruby/daru

Ruby

Data Analysis in RUby

Daru::Maths::Statistics::Vector#describe

Create a summary of count, mean, standard deviation, min and max of
the vector in one shot.

== Arguments

+methods+ - An array with aggregation methods specified as symbols to
be applied to vectors. Default is [:count, :mean, :std, :max,
:min]. Methods will be applied in the specified order.

Source | Google | Stack overflow

Edit

git clone [email protected]:sciruby/daru.git

cd daru

open lib/daru/maths/statistics/vector.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Daru--Maths--Statistics--Vector-describe-for-pr


# Commit to git

git add lib/daru/maths/statistics/vector.rbgit commit -m "better docs for Daru::Maths::Statistics::Vector#describe"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Daru--Maths--Statistics--Vector-describe-for-pr

hub pull-request


# Celebrate!