is_positive_integer | R Documentation |
this function checks if the input is a positive integer scalar (integer-like value – i.e., both 1L and 1.0 pass this check)
is_positive_integer(x, n)
x |
is the input |
n |
is the number of inputs |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.