R/approaches.R
lump.Rd
Lump Like Vectors Together
lump(x, threshold = 3)
<numeric> vector
<numeric>
<numeric> threshold; default is 3
3
lump(c(1:3, 5, 8:10, 15)) #> [1] 1 1 1 1 2 2 2 3