| assert_numeric | R Documentation |
Check Numeric Values
assert_count(x, na.rm = FALSE, ...)
assert_whole(x, na.rm = FALSE, ...)
assert_positive(x, na.rm = FALSE, ...)
assert_negative(x, na.rm = FALSE, ...)
assert_odd(x, na.rm = FALSE, ...)
assert_even(x, na.rm = FALSE, ...)
x |
A |
na.rm |
A |
... |
Extra parameters to be passed to internal methods. |
Throws an error, if any, and returns x invisibly otherwise.
N. Frerebeau
Other checking methods:
assert_constant(),
assert_dim(),
assert_empty(),
assert_infinite(),
assert_length(),
assert_lower(),
assert_missing(),
assert_names(),
assert_package(),
assert_square(),
assert_type(),
assert_unique()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.