are_all_elements_within_eps {SeaVal} | R Documentation |
Auxiliary function, used for checking whether spatial grids are regular, with allowing for rounding errors.
are_all_elements_within_eps(x, y, eps)
x |
A numeric vector, sorted in increasing order. |
y |
A numeric vector, sorted in increasing order. |
eps |
The tolerance within which we consider two values to be equal. |
A boolean value, TRUE if all x are in y within tolerance eps, FALSE otherwise.