quantileInverse(a,x)

Returns the percent of values in array a that are smaller or equal to x.


See also mean mode median quantile 


Example


a = ( 1, 2, 3, 4, 4, 3, 2, 4, 5, 4, 3, 3 );

quantileInverse( a, 2 )

0.25