Hi Rick,

Thanks for your article - very clear and helpful :) I am wondering how can I create a new data table with a column indicating the bin with my custom cutoff points.
For example, I have a mapping table whose structure looks like below
Variable LowerBound UpperBound Bin
X 0.2 1.7 1
X 1.8 3.2 2
X 3.3 7.4 3
Do you know how can I create a new column in my original dataset that segment variable X based on my custom lower and upper bound? Thanks!