IsOdd: Checks If An Integer Is Even Or Odd

View source: R/DescTools.r

IsOddR 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

IsWhole

Examples

IsOdd(1:10)

DescTools documentation built on Sept. 26, 2024, 1:07 a.m.