StrIsNumeric | R Documentation |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.