i_bands: Internal band constructor for spectra

View source: R/spectra.R

i_bandsR Documentation

Internal band constructor for spectra

Description

i_bands constructs band labels in the appropriate format

Usage

i_bands(x, nbands = NULL, warn_dup_band = FALSE)

Arguments

x

vector of bands. Either numeric or character

nbands

Integer of expected number of bands. If NULL (default) checking is skipped.

warn_dup_band

Warn about duplicated bands?

Value

vector of bands

Author(s)

Jose Eduardo Meireles


spectrolab documentation built on Feb. 16, 2023, 10:27 p.m.