powered by
Internal helper to restrict values between a lower and upper bound.
clamp(x, lower, upper)
A numeric vector with values clamped.
A numeric vector.
Lower bound.
Upper bound.