get_centroids: Get centroids of a grid

View source: R/grid_sampling_funs.R

get_centroidsR Documentation

Get centroids of a grid

Description

Takes a grid object and returns the centroids of each cell.

Usage

get_centroids(grid_dat)

Arguments

grid_dat

An 'sf' object with grid cells for which to get centroid for.

Value

An 'sf' class grid object


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