ISNUMBER: Basic ISNUMBER function from excel

Description Usage Arguments Value Examples

View source: R/ISNUMBER.R

Description

It acts similiarly to Excel's ISNUMBER function. If the specified value is a number it returns true, in all other cases it returns false.

Usage

1
ISNUMBER(value)

Arguments

value

Input the number for it to evaluate if it is number? Works on vectors/arrays as well.

Value

first example returns true as it is a number. Second example returns false as it isn't a number, it's a string. Function will always return logical class.

Examples

1
2

Example output

[1] TRUE
[1] FALSE

ExcelFunctionsR documentation built on July 1, 2020, 8:35 p.m.