Description Usage Arguments Examples
An internal function not intended for the user. Given a number x
and vector of
permitted values,
returns the closest permitted value to x
(in absolute value).
1 | closest(x, candidates)
|
x |
The number to be compared to the permitted values. |
candidates |
A vector of permitted values. |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.