Check if x and y positions conforms a regular gridSource:
Assess if the coordinates x,y of an object conforms a regular grid. This function is called by its side effects.
This function is internally called by
A matrix, data frame or tibble of at least two columns representing x and y coordinates.
integer to set the precision for detecting whether points are on a regular grid (a low number of digits is a low precision).
invisible() if is regular or an error message otherwise