make_grid: Makes a grid across a polygon boundary

View source: R/grid_sampling_funs.R

make_gridR Documentation

Makes a grid across a polygon boundary

Description

Takes a path to a polygon layer and creates a grid with cells of a user specified dimension (in meters) across the area. Returns an 'sf' class object.

Usage

make_grid(poly_layer_path, cell_size)

Arguments

poly_layer_path

Character, path to the .shp file of the polygon layer of the area of interest.

cell_size

Numeric, the size of the grid cell in meters.

Value

An 'sf' class grid object


paulhegedus/SampleBuilder documentation built on July 21, 2023, 9:35 a.m.