Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Package to calculate 2D, 3D and 4D histograms. Starting with files from http://svn.php.net/repository/pear/packages/Math_Histogram trunk (version 0.9.1beta)
PHP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Histogram/Printer
examples
AbstractHistogram.php
Histogram.php
Histogram3D.php
Histogram4D.php
README.md
package.xml

README.md

Math_Histogram

These classes can be used to calculate histogram distributions of data sets. It assumes that data has no nulls.

The Math_Histogram class computes histograms and associated statistics from unidimensional data sets. These are also known as 2D histograms, and can be computed using the regular binned frequency or as cummulative frequency.

Similarly, the Math_Histogram3D and Math_Histogram4D classes compute distributions from bi- and tri-dimensional data sets (respectively), both in regular frequency and cummulative frequency modes.

This package requires the Math_Stats package, so if you do not have it installed, you need to do:

$ pear install Math_Stats

before you can start using Math_Histogram in your scripts.

This is old code I wrote for PEAR. Originally it was tracked in CVS, then it was moved to SVN, and now I am importing it to git :-)

-- Jesus M. Castagnetto

Something went wrong with that request. Please try again.