Pin numerical values between stated limits
pin(x, lower = NULL, upper = NULL)
Vector or matrix of numerical values
Numerical values of minimum value allowed; set to NULL
to avoid trimming the lower limit.
As for lower
, but for the upper limit.
Copy of x
, with any value that exceeds lim
having
been replaced by lim
.