moodymudskipper / inops

Infix Operators for Detection, Subsetting and Replacement
GNU General Public License v3.0
40 stars 0 forks source link

Operator for selecting quantile range? #44

Open karoliskoncevicius opened 3 years ago

karoliskoncevicius commented 3 years ago

Hello @moodymudskipper , long time no see.

I've been using the package and recently stumbled upon a scenario where a particular operator might be handy. What I wanted to do is select, within a loop, first - top10% of values, then top10%-top20%, then top20%-top30% etc.

Do you think we should add a separate operator for this, or do you think this is better covered by other functions like cut?

Just posting for opinions.