Description Usage Arguments Value Examples
Stops code if x
is not >0.
1 | error_positive_value(x, variable_name)
|
x |
numeric vector. |
variable_name |
name of object x. |
Error message if any component of x
is <= 0.
1 2 3 | ## Returns error (not run)
#test <- c(-1,2)
#error_positive_value(test,get_variable_name(test))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.