Learn R Programming

wrMisc (version 1.15.3.1)

.mayBeNum: Check if vector may be numeric content

Description

This function allows to checking if a given vector may be numeric content

Usage

.mayBeNum(x, pattern = NULL)

Value

This functions returns a logical/boolean vector for each of the elements of 'x'

Arguments

x

(numeric vector) main input

pattern

(character) custom pattern to check

See Also

numeric; convMatr2df

Examples

Run this code
.mayBeNum(c(3:6))

Run the code above in your browser using DataLab