Checking whether numbers are odd or even

is.odd(vector)

is.even(vector)

Arguments

vector

The vector to process

Value

A logical vector.

Examples

is.odd(4);
#> [1] FALSE