Even: Tests whether a number is even

Description Usage Arguments Details Author(s) References Examples

View source: R/Even.R

Description

Just a simple function that returns True if a number is even and False otherwise.

Usage

1
Even(x)

Arguments

x

a numerical vector.

Details

Returns a vector of logical values of the same length as the input vector. If the input value is not a number it will return an error message.

Author(s)

Heath Blackmon

References

http://coleoguy.github.io/

Examples

1
Even(c(1,2,3,4,5,6,2,5))

evobiR documentation built on May 2, 2019, 5:40 a.m.