Skip to content

compute iqr

kgryte edited this page May 12, 2015 · 1 revision

Computes the interquartile range of a numeric array.

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

var iqr = compute.iqr( data );

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

Clone this wiki locally