get spectral species corresponding to raster sample extracted with extract

spectralspecies_per_rast_sample(
  Kmeans_info,
  rast_sample,
  selected_bands = NULL
)

Arguments

Kmeans_info

list. kmeans description obtained from function get_kmeans

rast_sample

dataframe.

selected_bands

numeric. bands selected from input data

Value

list