Skip to contents

subset SpatRaster with spectra (bands) positions.

Usage

spectra_sub(raster, spectra_tbl)

Arguments

raster

a terra SpatRaster to be subset.

spectra_tbl

a tibble with spectra positions from spectra_position.

Value

SpatRaster subset to contain only required spectral bands.

See also