numeric.case

Share:

Description

Checks if strings are all numbers or spaces

Usage

1
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

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.