is_numeric_vector_1d | R Documentation |
Check if a variable is a 1D numeric vector by checking that:
is_numeric(input)
: Input is vector, matrix, array or list of numbers
is_null(dim(input))
: Input is not a matrix or array
is_numeric_vector_1d(input)
input |
Arbitrary object |
TRUE if input is a 1D numeric vector. FALSE otherwise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.