Description Usage Arguments Value See Also
Checks if the input object only contains numeric values.
1 2 3 4 | all_are_numeric(x, .xname = get_name_in_parent(x))
assert_all_are_numeric(x, severity = getOption("assertive.severity",
"stop"))
|
x |
An R object or expression. |
.xname |
Not intended to be used directly. |
severity |
How severe should the consequences of the assertion be?
Either |
all_are_numeric
returns TRUE
if x
contains only
numeric values.The assert_*
function throws an error on failure.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.