Learn R Programming

quickcode (version 1.0.6)

not.numeric: Not numeric

Description

Check if entry is not numeric

Usage

not.numeric(x)

Value

a boolean value to indicate if entry is numeric

Arguments

x

vector entry

Examples

Run this code
not.numeric("45") # TRUE
not.numeric(45) # FALSE
if(not.numeric(45)) message("yes") # yes

Run the code above in your browser using DataLab