is.even | R Documentation |
Check whether a number is even or odd.
IsEven(x)
IsOdd(x)
x |
An integer or vector of integers. |
Logical indicating whether the argument is even (or odd).
Steven L. Scott
IsEven(2) ## TRUE
IsOdd(2) ## FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.