is.odd: Check if a vector of numbers is Odd

Description Usage Arguments Examples

Description

is.odd Returns a vector of TRUE/FALSEs by applying x

Usage

1
is.odd(x, n = FALSE)

Arguments

x

A numeric vector.

n

An integer specifying if a number of odd numbers should be returned.

Examples

1
2
3
is.odd(1:5)

## TRUE FALSE  TRUE FALSE TRUE

InfProbSciX/PeRLib documentation built on May 15, 2019, 8:56 p.m.