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 greg@warnes.net

See Also

round

Examples

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

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


Search within the gtools package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.