Clips values to a mininum and maximum value. That is, all values below the lower clamp value and the upper clamp value become the lower/upper value specified

clipr(x, min, max)

Arguments

x

to be clipped vector

min

numeric. lowest value

max

numeric. highest value