is_numeric {moodef}R Documentation

Check if a String Represents a Numeric Value

Description

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

Usage

is_numeric(str)

Arguments

str

character A string to check.

Value

logical TRUE if the string is numeric, FALSE otherwise.


[Package moodef version 1.2.0 Index]