Description Usage Arguments Value Author(s) Examples
View source: R/profitUtility.R
A simple convenience function to check if a value is a positive integer, which several arguments to functions need to be.
1 |
x |
Hopefully a positive integer. |
Returns nothing. Stops process if condition is not met.
Dan Taranu
1 2 3 4 5 | ## Not run:
profitCheckIsPositiveInteger(3L)
profitCheckIsPositiveInteger(3.1)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.