.check_if_positive_integer | R Documentation |
Utility function to check whether an object is a strictly positive integer
.check_if_positive_integer(number, parameter_name)
number |
The value to be tested |
parameter_name |
A string containing the name the tested parameter had in the initial function in which it was passed. |
TRUE if all tests were passed. Throws an error otherwise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.