all.is.numeric: Check if All Elements in Character Vector are Numeric
Description
Tests, without issuing warnings, whether all elements of a character
vector are legal numeric values, or optionally converts the vector to a
numeric vector.
Usage
all.is.numeric(x, what = c("test", "vector"))
Arguments
x
a character vector
what
specify what="vector" to return a numeric vector if
it passes the test, or the original character vector otherwise
Value
a logical value if what="test" or a vector otherwise