Skip to content

compute argnanmin

kgryte edited this page May 12, 2015 · 1 revision

Computes the minimum value of an array ignoring non-numeric values and returns the corresponding array indices.

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

var idx = compute.argnanmin( data );
// returns [1,3]
Clone this wiki locally