check_numeric_vector: Check Numeric Vector

Description Usage Arguments Examples

Description

This function will take an input and check if it is a single numeric vector. If it isn't then the function will throw an error. If it is then the function doesn't do anything.

Usage

1

Arguments

x

Examples

1
2
3
4
5
x <- 1:10
check_numeric_vector

y <- 'string'
check_numeric_vector(y)  ## Will throw error

AshleyDennisHenderson/data.summary documentation built on June 12, 2019, 11:25 a.m.