coords {jpgrid} | R Documentation |
Conversion between grid square codes and coordinates (longitude and latitude)
Description
Conversion between grid square codes and coordinates (longitude and latitude)
Usage
coords_to_grid(X, Y, grid_size)
grid_to_coords(grid, center = TRUE)
Arguments
X |
A numeric vector of longitude. |
Y |
A numeric vector of latitude. |
grid_size |
A grid size. |
grid |
A |
center |
Should the center point of the grid be returned? Otherwise the
end points will be returned. |
Value
coords_to_grid()
returns a grid
vector.
grid_to_coords()
returns a tbl_df
.
[Package jpgrid version 0.4.0 Index]