Learn R Programming

moodef (version 1.2.0)

is_numeric: Check if a String Represents a Numeric Value

Description

Verifies if a string can be converted to a numeric value.

Usage

is_numeric(str)

Value

logical

TRUE if the string is numeric, FALSE otherwise.

Arguments

str

character A string to check.