is.odd: checks if a number or vector is odd

View source: R/functions.R

is.oddR Documentation

checks if a number or vector is odd

Description

checks if a number or vector is odd

Usage

is.odd(x)

Arguments

x

the number or vector to check #'

Value

true or false

Examples

is.odd(45)
is.odd(46)
x <- c(1,2,3,4,5, 6, 7)
is.odd(x)


schoolmath documentation built on Aug. 21, 2023, 5:08 p.m.