assign_to_bin.Rd
Values less than the smallest bin value are assigned to that value. Values greater than the largest bin value are assigned to that value.
assign_to_bin(vals, bins)
vals | Values to be assigned to a bin |
---|---|
bins | Bin values |
a bin corresponding to each of vals