Description Usage Arguments Examples
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.
1 |
x |
1 2 3 4 5 | x <- 1:10
check_numeric_vector
y <- 'string'
check_numeric_vector(y) ## Will throw error
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.