Description Usage Arguments Value
Coerce values of x two be within the range of the bounds b.
1 | coerce_within(x, b = c(0, 1))
|
x |
numeric vector |
b |
two element numeric vector of [min,max] defining bounds |
a numeric vector same length as x with all values within bounds b
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.