i_bands {spectrolab}R 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


[Package spectrolab version 0.0.19 Index]