weight_grid_to_data: Use Weight Grid to extract SpatRast Data

View source: R/weights.R

weight_grid_to_dataR Documentation

Use Weight Grid to extract SpatRast Data

Description

Returns a data.table with raster data attached to weight grid

Usage

weight_grid_to_data(data, w, subds = 0)

Arguments

data

SpatRaster or file path

w

weight grid

subds

subdatasets to extract

Value

data.table


mikejohnson51/zonal documentation built on Dec. 9, 2024, 11:52 p.m.