Skip to contents

[Deprecated]

Usage

grid_to_XY(grid, center = TRUE)

XY_to_grid(X, Y, grid_size)

Arguments

grid

A grid class vector.

center

Should the center point of the grid be returned? Otherwise the end points will be returned. TRUE by default.

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.