numeric.case: numeric.case

View source: R/checkCase.r

numeric.caseR Documentation

numeric.case

Description

Checks if strings are all numbers or spaces

Usage

numeric.case(string)

Arguments

string

Character vector of strings to check cases

Details

Checks if strings are all numbers and spaces. This is a wrapper for find.case('text', 'numeric').

Value

A vector of TRUE AND FALSE

Author(s)

Jared P. Lander

See Also

find.case upper.case lower.case numeric.case

Examples

toCheck <- c('BIG', 'little', 'Mixed', 'BIG WITH SPACE', 
     'little with space', 'MIXED with SPACE', '17')
numeric.case(toCheck)

jaredlander/useful documentation built on Nov. 4, 2023, 10:56 a.m.