powered by
This function prints out spatial grid information from a data table. If the grid-attribute does not exist set_spatial_grid is called first.
set_spatial_grid
grid_info(dt)
This function does not return a value; instead, it prints a message to the console with the grid information.
A data table
dt = data.table(lon = runif(10), lat = runif(10)) grid_info(dt)
Run the code above in your browser using DataLab