View source: R/check_numeric.R
check_numeric | R Documentation |
Check numeric argument consistency
check_numeric(argument, target, arg_name)
argument |
the argument to evaluate. |
target |
allowed numeric values. |
arg_name |
string with argument name to print (just for error message) |
An error message if argument does not fit the target requirements
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.