You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It could be interesting to provide firstDecile and lastDecile functions which are often used in statistics.
I already wrote something like that:
constdecile=(array,decile)=>percentile(array,decile/10);// if percentile is between 0 and 1constfirstDecile=(array)=>decile(array,1);constlastDecile=(array)=>decile(array,9);
It could be interesting to provide
firstDecile
andlastDecile
functions which are often used in statistics.I already wrote something like that:
Also, notice that I would have expect
percentile
parameter to be between 0 and 100, like explained in the wikipedia documentation: https://en.wikipedia.org/wiki/Percentile#The_nearest-rank_methodThe text was updated successfully, but these errors were encountered: