get_zonal_data: Get raster frequency per class from polygon input areas

View source: R/io.R

get_zonal_dataR Documentation

Get raster frequency per class from polygon input areas

Description

Get raster frequency per class from polygon input areas

Usage

get_zonal_data(raster_object, polygon)

Arguments

raster_object

character. An object of class RasterLayer.

polygon

character. A polygon to define spatial boundary of raster value counts (e.g. a given city's watersheds)

Details

Get the coverage per class of raster values represented in the input raster dataset when restricted to the input watershed polygons for a target city.

Value

table of crop types present and their coverage within the polygon area

Author(s)

Kristian Nelson (kristian.nelson@pnnl.gov)


IMMM-SFA/teleconnect documentation built on June 19, 2024, 4:38 p.m.