Description Usage Arguments See Also Examples
NAs are ignored.
| 1 2 3 4 5 6 7 | chk_positive_scalar(x, name)
chk_positive_vector(x, name)
err_positive_scalar(x, name)
err_positive_vector(x, name)
 | 
| x | A scalar or vector. | 
| name | The name for  | 
| 1 2 3 4 5 6 | x <- 0.1
chk_positive_scalar(x, name = "x")
x <- NA_integer_
chk_positive_scalar(x, name = "x")
x <- c(0.1, 0.0001, 100, NA)
chk_positive_vector(x, name = "x")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.