IsOdd {DescTools} | R Documentation |
Checks If An Integer Is Even Or Odd
Description
Checks if the elements of an integer vector x
are even or odd.
Usage
IsOdd(x)
Arguments
x |
vector of integers |
Value
a logic vector
Author(s)
Andri Signorell <andri@signorell.net>
See Also
Examples
IsOdd(1:10)
[Package DescTools version 0.99.55 Index]