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 Nov. 20, 2023, 5:08 p.m.