.cut_variable {valueSetCompare} | R Documentation |
This function cuts a numeric variable into intervals based on the provided breaks.
.cut_variable(variable, breaks)
variable |
A numeric vector that you want to cut into intervals. |
breaks |
A numeric vector specifying the breakpoints for cutting the variable. |
A factor vector representing the intervals into which the variable has been cut.