Check that a variable is numeric in a certain range
1 2 3 4 5 6 7 | check_numeric(
variable,
min.value = 0,
max.value = Inf,
req.length = 1,
check.whole = TRUE
)
|
variable |
Value to check if numeric |
min.value |
Minimum value for variable |
max.value |
Maximum value for variable |
req.length |
Required length for the variable. |
check.whole |
Should the variabile be checked to see if it a whole number? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.