Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

oddeven

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

Examples

odd(4)
even(4)

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

gtools

Various R Programming Tools

v3.8.2
GPL-2
Authors
Gregory R. Warnes, Ben Bolker, and Thomas Lumley
Initial release
2020-03-23

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.