oddeven: Detect odd/even integers

oddevenR Documentation

Detect odd/even integers

Description

detect odd/even integers

Usage

odd(x)

even(x)

Arguments

x

vector of integers

Value

Vector of TRUE/FALSE values.

Author(s)

Gregory R. Warnes greg@warnes.net

See Also

round

Examples



odd(4)
even(4)

odd(1:10)
even(1:10)

gtools documentation built on Nov. 20, 2023, 5:07 p.m.