Skip to contents

Convert the grid size of grid objects

Usage

grid_convert(grid, grid_size)

Arguments

grid

A grid vector.

grid_size

A grid size.

Value

A grid vector.

Examples

grid_500m <- parse_grid(c("533945263", "533935863", "533945764"), "500m")
grid_convert(grid_500m, "10km")
#> <grid_10km[3]>
#> [1] 533945 533935 533945