Description Usage Arguments Value Note
clip
constrains the values in numeric vector x
to the range
[low
,high
]
1 | clip(x, low, high)
|
x |
A numeric vector |
low |
The minimum value allowed |
high |
The maximum value allowed |
A numeric vector constrained to the given range.
This function is deprecated.
Code should be updated to use squish
from the
scales
package.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.