allIsNumeric: check whether character vector represents all numeric values
Description
check whether all the items of input vector are numeric without
throwing warning derived from Hmsic package
Usage
allIsNumeric(x, extras = c(".", "NA", NA))
Arguments
x
is a character vector to be tested
extras
is a vector of character strings which are counted as NA
values, defaults to '.' and 'NA'. Also allow NA
.