not.vector: Not a vector

View source: R/not.vector.R

not.vectorR Documentation

Not a vector

Description

Opposite of is.vector(). Check if entry is not vector

Usage

not.vector(x)

Arguments

x

vector entry

Value

a boolean value to indicate if entry is vector

Examples

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


quickcode documentation built on April 11, 2025, 5:49 p.m.