oddeven: Detect odd/even integers

Description Usage Arguments Value Author(s) See Also Examples

Description

detect odd/even integers

Usage

1
2
odd(x)
even(x)

Arguments

x

vector of integers

Value

Vector of TRUE/FALSE values.

Author(s)

Gregory R. Warnes [email protected]

See Also

round

Examples

1
2
3
4
5
odd(4)
even(4)

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

gtools documentation built on May 30, 2017, 1:58 a.m.

Related to oddeven in gtools...