R/weights.R
weight_grid_to_data.Rd
Returns a data.table with raster data attached to weight grid
weight_grid_to_data(data, w, subds = 0)
SpatRaster or file path
weight grid
subdatasets to extract
data.table