| clean_posint | R Documentation |
Check positive integer
clean_posint(x, allow_na = FALSE, xname = deparse(substitute(x)))
x |
Integer vector. |
allow_na |
Logical: If TRUE, NAs are excluded before checking. If FALSE (default), NAs trigger an error. |
xname |
Character: Name of the variable for error messages. |
Integer vector of positive values.
EDG
clean_posint(5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.