numCheck: Check if given string or vector is all numeric

View source: R/utilities.R

numCheckR Documentation

Check if given string or vector is all numeric

Description

Check if given string or vector is all numeric

Usage

numCheck(x)

Arguments

x

A string or a vector

Value

TRUE or FALSE

Examples


numCheck(3)

numCheck("-1/3")

numCheck(c("1","0.2","1/3","-1"))


Tong-Chen/ImageGP documentation built on April 14, 2025, 12:54 p.m.