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)

AndriSignorell/DescTools documentation built on Dec. 1, 2024, 5:13 a.m.