numbers_only {cleanepi}R Documentation

Detects whether a string contains only numbers or not.

Description

Detects whether a string contains only numbers or not.

Usage

numbers_only(x)

Arguments

x

A string of numbers

Value

TRUE if the string only contains numbers, FALSE otherwise


[Package cleanepi version 1.0.2 Index]