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