First checks whether the spatial coordinates in a data table are part of a regular grid.
If they are, the function returns the smallest regular complete grid including all coordinates.
See set_spatial_grid for more information.
Usage
complete_regular_grid(dt)
Value
A data table with the completed spatial grid. Has the grid-attribute.
Arguments
dt
A data table object containing the spatial grid with coordinates.