Description Usage Arguments Value Examples
Checks whether x
is an even or odd number. Only
accepts numeric vectors.
1 2 3 |
x |
Numeric vector or single numeric value, or a data frame or list with such vectors. |
is_even()
returns TRUE
for each even value of x
, FALSE
for
odd values. is_odd()
returns TRUE
for each odd value of x
and FALSE
for even values.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.