clamp | R Documentation |
Clamp a value to a range
clamp(x, lower = -Inf, upper = Inf)
x |
( |
lower |
('numeric(1)') The lower bound of the range. |
upper |
( |
A numeric value clamped to the range [lower
, upper
].
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.