Skip to content

compute midmean

kgryte edited this page May 12, 2015 · 1 revision

Computes the midmean of a numeric array.

var data = [ 2, 4, 2, 7, 3 ];

var mm = compute.midmean( data );

If the input array is already sorted in ascending order, set the sorted flag to true.

Clone this wiki locally