Learn R Programming

spectrolab (version 0.0.18)

i_bands: 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)

Value

vector of bands

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?

Author

Jose Eduardo Meireles