Skip to contents

Line plots of calculated proxies series

Usage

plot_profile_spectral_series(
  raster,
  hsi_index,
  calibration = NULL,
  extent = NULL,
  ext = NULL,
  filename = FALSE
)

Arguments

raster

a SpatRaster with calculated hyperspectral indices and RGB layers.

hsi_index

a character indicating hyperspectral index layer to plot.

calibration

result of pixel_to_distance or actual call to pixel_to_distance with appropriate input.

extent

a terra extent or SpatVector used to subset SpatRaster. Defaults to the entire SpatRaster.

ext

character, a graphic format extension.

filename

empty = in memory, TRUE = guess name and attempt write, or user specified path to glue with ext.

Value

line plot with of selected hyperspectral index.