is_vector: is_vector

Description Usage Arguments Examples

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 May 30, 2019, 8:40 a.m.