2017 © Pedro Peláez
 

library median

Super simple median calculation

image

mazedlx/median

Super simple median calculation

  • Tuesday, October 24, 2017
  • by mazedlx
  • Repository
  • 1 Watchers
  • 1 Stars
  • 19 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Build Status, (*1)

median

Super simple PHP library for getting the median of array values (can also calc the average of the array's elements)., (*2)

Installation and Usage

composer install mazedlx/median, (*3)

$arrayOfValues = [1, 2, 5, 1000, 7]
$m = new Median($arrayOfValues);

$avg = $m->average();
// $avg == 203

$median = $m->median();
// $median == 5

The Versions

24/10 2017

dev-master

9999999-dev

Super simple median calculation

  Sources   Download

MIT

The Requires

 

The Development Requires

30/04 2017

1.2

1.2.0.0

Super simple median calculation

  Sources   Download

MIT

The Requires

 

24/03 2017

1.1.1

1.1.1.0

Super simple median calculation

  Sources   Download

MIT

The Requires

 

24/03 2017

1.0

1.0.0.0

  Sources   Download

The Requires