Description Usage Arguments Details Value Examples
Mimicking zero_range
, but doesn't require the input to
be numeric or of length 2.
1 2 3 4 | vec_zero_range(x, tol = 1000 * .Machine$double.eps)
## Default S3 method:
vec_zero_range(x, tol = 1000 * .Machine$double.eps)
|
x |
A vector with a range. |
tol |
A value specifying the tolerance. |
The default method first tries to cast the input as numeric before
handing it off to scales::zero_range
.
A logical
of length 1
1 2 | vec_zero_range(c(1, 1))
vec_zero_range(c(0, 1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.