is.odd: Determining if a Value is Odd or Even

Description Usage Arguments Value Author(s) Examples

Description

A logical flag which determines if a value supplied by the user is odd or even.

Usage

1
2

Arguments

x

integer value

Value

Logical vectors TRUE or FALSE are returned depending on whether the value is odd or even.

Author(s)

Jessica Mar

Examples

1
2
3
4
is.odd(4)
## FALSE
is.even(100)
## TRUE

gnyamundanda/sma documentation built on May 3, 2019, 5:17 p.m.