Description Usage Arguments Value
Simple implementation from Hadley Wickham that checks if all elements of a vector are equal
1 | zero_range(x, tol = .Machine$double.eps^0.5)
|
x |
Vector containing numeric elements |
tol |
The tolerated acceptable error in determining whether elements are equal |
A boolean representing if all elements of a vector are equal
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.