Description Usage Arguments Examples
Checks whether 'x', a vector, is of a specific type. Useful for figuring out whether something is a factor / numeric for plotting.
1 | check_args(x, type)
|
x |
a vector |
type |
the type you want to ensure the vector is |
1 | check_args(c(1,3,4),"numeric")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.