I have following dataframe:
a ID a.1 b.1 a.2 b.2 1 1 40.00 100.00 NA 88.89 2 2 100.00 100.00 100 100.00 3 3 5
Instead of cut, you can use .bincode, that accepts a non unique vector of breaks.