is_vector: is_vector

Description Usage Arguments Examples

View source: R/is_vector.R

Description

Checks for a vector of one of these types: c("integer", "numeric", "character", "logical", "raw", "complex")

Usage

1
is_vector(vec)

Arguments

vec

A vector

Examples

1
2
3
is_vector(1:5)
is_vector(list(1:5))
is_vector(matrix(1:4, 2))

talegari/sidekicks documentation built on Sept. 26, 2018, 4:18 p.m.