get_cover: Get Cover

View source: R/get_cover.R

get_coverR Documentation

Get Cover

Description

Get the cover of an sf object based upon an input raster

Usage

get_cover(x, raster)

Arguments

x

an sf object which must be a polygon/multipolygon

raster

the model raster to define the output extents and resolution

Value

a raster with a value of 1 for every cell covered by x


MatthewJWhittle/spatialutils documentation built on March 16, 2023, 11:30 p.m.