| is.number | R Documentation | 
Returns a logical vector describing if a numeric elements is a number.
is.number(x)
| x | numeric vector | 
is.number is TRUE if the value is numeric or complex
and is not missing (NA or NaN).
is.number(32)
# [1] TRUE
is.number(matrix(1:20, nrow=2))
#      [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10]
# [1,] TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE  TRUE
# [2,] TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE  TRUE
is.number(list(matrix(1:20, nrow=2), 1:4))
# [1] TRUE TRUE
is.number('s')
# [1] TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.