ISODD {ExcelFunctionsR} | R Documentation |
Basic ISODD function from excel
Description
It acts similiarly to Excel's ISODD function. If the specified number is odd then it returns true, if not then false.
Usage
ISODD(number)
Arguments
number |
Input the number for it to evaluate if it is an odd number? Works on vectors/arrays as well. |
Value
First example returns true as it is an odd number 1, second example returns false as it isn't an odd number. Function will always return logical class.
Examples
ISODD(1)
ISODD(2)
[Package ExcelFunctionsR version 0.1.4 Index]