Skip to content

compute nanmin

kgryte edited this page May 12, 2015 · 1 revision

Computes the minimum value of an array ignoring non-numeric values.

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

var min = compute.nanmin( data );
// returns 2
Clone this wiki locally