Description Usage Arguments Details
View source: R/rhrCheckNumber.R
Validate numeric input
1 2 | rhrCheckNumber(val, arg, length = 1, from = NA, to = NA,
canHaveNA = FALSE, fun = as.character(as.list(match.call())[[1]]))
|
val |
numeric vector |
arg |
character, name of argument |
length |
max length |
from |
lower boundary |
to |
upper boundary |
canHaveNA |
logical, can the vector contain NA's? |
fun |
name of the function |
Takes a numeric input and validates it with regard to length, range and missing values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.