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 <character> value

Value

TRUE if the string only contains numbers, FALSE otherwise


[Package cleanepi version 1.1.1 Index]