Description Usage Arguments Value Ignoring NAs See Also
Checks if a an object can be converted to a number without error
1 2 3 4 5 | are_numeric_like(x)
is_numeric_like(x, n = NULL, na_rm = FALSE)
is_scalar_numeric_like(x)
|
x |
object to be checked |
n |
scalar whole number: expected length of vector |
na_rm |
scalar logical: whether or not NAs should be considered in the calculation. If na_rm = FALSE, then any NA in the vector being checked will result in an NA output. |
scalar logical
NA
Other predicates: are_non_negative
,
are_positive
,
are_whole_number
, are_zero
,
has_zero_range
,
is_binary_valued
,
is_scalar_bare_numeric
,
is_zero
Other predicates: are_non_negative
,
are_positive
,
are_whole_number
, are_zero
,
has_zero_range
,
is_binary_valued
,
is_scalar_bare_numeric
,
is_zero
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.