Learn R Programming

SeaVal (version 1.1.1)

grid_info: Retrieve spatial grid information from a data table

Description

This function prints out spatial grid information from a data table. If the grid-attribute does not exist set_spatial_grid is called first.

Usage

grid_info(dt)

Value

This function does not return a value; instead, it prints a message to the console with the grid information.

Arguments

dt

A data table

Examples

Run this code

 dt = data.table(lon = runif(10), lat = runif(10))
 grid_info(dt)

Run the code above in your browser using DataLab