check_nums | R Documentation |
helper function to validate numbers in an input string or vector
check_nums(inp, lower = 0, upper = 1e+10, as_string = TRUE)
inp |
A string, character vector, or numeric vector |
lower |
The lowest valid value for each number |
upper |
The highest valid value for each number |
as_string |
If TRUE, return numbers as a space-separated string. If FALSE, return the validated numeric vector itself. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.