Namespace Jek.stats
Defined in: JekFk.js.
Method Summary
min(array)
Returns the minimum element of the given array, according to the natural ordering of its elements.
max(array)
Returns the maximum element of the given array, according to the natural ordering of its elements.
percentage(array, suffix[optional], decimalPositions[optional])
Convert values in an array to percentage
Method Detail
Jek.stats.mean(array)
: Number
Returns the arithmetic mean of the entries in the input array
Parameters:
{Array} | array |
Returns:
{Number} |
Jek.stats.sum(array)
: Number
Returns the sum of the entries in the input array
Parameters:
{Array} | array |
Returns:
{Number} |
Jek.stats.min(array)
: Number
Returns the minimum element of the given array, according to the
natural ordering of its elements.
Parameters:
{Array} | array |
Returns:
{Number} |