Learn R Programming

DescTools (version 0.99.19)

IsOdd: Checks If An Integer Is Even Or Odd

Description

Checks if the integers in a vector are even (FALSE) or odd (TRUE)

Usage

IsOdd(x)

Arguments

x
vector of integers

Value

See Also

IsWhole

Examples

Run this code
IsOdd(1:10)

Run the code above in your browser using DataLab