Binning a Numeric Vector in R Programming - .bincode() Function
.bincode() function in R Language is used to bin a numeric vector and return integer codes for the binning. Syntax: .bincode(x, breaks, right = TRUE, include.lowest = FALSE) Parameters: x: a numeric vector which is to be converted to integer codes by binning. breaks: a numeric vector of two or more