Identify all border points in a region
get_border(region, e)
region
: A data frame containing the x and y coordinates of the region.e
: The step size of the grid in the x and y directions.A data frame containing the x and y coordinates of the border points of the region.