Even {evobiR}R Documentation

Tests whether a number is even

Description

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

Usage

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

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

[Package evobiR version 1.1 Index]