not.vector | R Documentation |
Opposite of is.vector(). Check if entry is not vector
not.vector(x)
x |
vector entry |
a boolean value to indicate if entry is vector
vect1 = list(r=1,t=3:10)
vect2 = LETTERS
is.vector(vect1) # TRUE
not.vector(vect1) # FALSE
not.vector(vect2) # FALSE
if(not.vector(vect1)) message("yes") # NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.