View source: R/spatial_grids.R
are_all_elements_within_eps | 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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.