Does a String Contain Only Numeric Data
Check whether a string does only contain numeric data.
StrIsNumeric(x)
x |
a character vector |
a logical vector with the same dimension as x
Andri Signorell <andri@signorell.net>
Other string functions, e.g. StrTrunc
x <- c("123", "-3.141", "foobar123") StrIsNumeric(x)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.