2017 © Pedro Peláez
 

cakephp-plugin cakephp-statistics

A Statistics Plugin for CakePHP

image

tersmitten/cakephp-statistics

A Statistics Plugin for CakePHP

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Statistics plugin for CakePHP

Build Status PHP 7 ready Coverage Status Packagist downloads Code Climate, (*1)

Requirements

  • CakePHP 2.4.2 or greater.
  • PHP 5.4.16 or greater.

Installation

Clone/Copy the files in this directory into app/Plugin/Statistics, (*2)

Configuration

Ensure the plugin is loaded in app/Config/bootstrap.php by calling:, (*3)

CakePlugin::load('Statistics');

Usage

Sum

Statistics::sum(array(1, 2, 3));

Minimum

Statistics::min(array(1, 2, 3));

Maximum

Statistics::max(array(1, 2, 3));

Mean

Statistics::mean(array(1, 2, 3));

Frequency

Statistics::frequency(array(1, 2, 3, 3, 3));

Mode

Statistics::mode(array(1, 2, 2, 3));

Variance (sample and population)

Statistics::variance(array(1, 2, 3));
Statistics::variance(array(1, 2, 3), false);

Standard deviation (sample and population)

Statistics::standardDeviation(array(1, 2, 3));
Statistics::standardDeviation(array(1, 2, 3), false);

Range

Statistics::range(array(4, 6, 10, 15, 18));

The Versions

28/05 2016

dev-master

9999999-dev http://github.com/tersmitten/cakephp-statistics

A Statistics Plugin for CakePHP

  Sources   Download

MIT

The Requires

 

statistics cakephp

28/05 2016

v1.1.0

1.1.0.0 http://github.com/tersmitten/cakephp-statistics

A Statistics Plugin for CakePHP

  Sources   Download

MIT

The Requires

 

statistics cakephp

27/12 2014

v1.0.1

1.0.1.0 http://github.com/tersmitten/cakephp-statistics

A Statistics Plugin for CakePHP

  Sources   Download

MIT

The Requires

 

statistics cakephp

17/12 2014

v1.0.0

1.0.0.0 http://github.com/tersmitten/cakephp-statistics

A Statistics Plugin for CakePHP

  Sources   Download

MIT

The Requires

 

statistics cakephp