Skip to contents

Line plot of spectral profile from the ROI

Usage

plot_profile_spectral_profile(raster, extent = NULL, ext = NULL, write = FALSE)

Arguments

raster

Reflectance SpatRaster.

extent

an extent or SpatVector used to subset SpatRaster. Defaults to the entire SpatRaster.

ext

character, a graphic format extension.

write

logical, should resulting SpatRaster be written to file.

Value

line plot with of selected hyperspectral index.