Learn R Programming

cleanepi (version 1.1.0)

numbers_only: Detects whether a string contains only numbers or not.

Description

Detects whether a string contains only numbers or not.

Usage

numbers_only(x)

Value

TRUE if the string only contains numbers, FALSE

otherwise

Arguments

x

A <character> value